Home
last modified time | relevance | path

Searched refs:getStateJsonPath (Results 1 – 4 of 4) sorted by relevance

/expo/packages/create-expo/src/
H A DsessionStorage.ts3 import { getStateJsonPath } from './paths';
22 return JsonFile.read<UserSettingsData>(getStateJsonPath())?.auth ?? null;
H A Dtelemetry.ts7 import { dotExpoHomeDirectory, getStateJsonPath } from './paths';
210 if (!fs.existsSync(getStateJsonPath())) {
211 fs.writeFileSync(getStateJsonPath(), JSON.stringify({}));
213 const savedDeviceId = await JsonFile.getAsync(getStateJsonPath(), 'analyticsDeviceId', null);
221 await JsonFile.setAsync(getStateJsonPath(), 'analyticsDeviceId', deviceId);
H A Dpaths.ts25 export const getStateJsonPath = (): string => path.join(dotExpoHomeDirectory(), 'state.json'); constant
/expo/packages/create-expo/src/__tests__/
H A Dtelemetry.test.ts5 import { dotExpoHomeDirectory, getStateJsonPath } from '../paths';
32 if (fs.existsSync(getStateJsonPath())) {
33 fs.unlinkSync(getStateJsonPath());
152 getStateJsonPath(),