Home
last modified time | relevance | path

Searched refs:inputPath (Results 1 – 6 of 6) sorted by relevance

/expo/packages/create-expo/src/
H A DcreateAsync.ts40 inputPath: string,
43 if (!inputPath && yes) {
50 return await resolveProjectRootAsync(inputPath);
74 export async function createAsync(inputPath: string, options: Options): Promise<void> {
80 return await createExampleAsync(inputPath, options);
83 return await createTemplateAsync(inputPath, options);
86 async function createTemplateAsync(inputPath: string, props: Options): Promise<void> {
95 const projectRoot = await resolveProjectRootArgAsync(inputPath, props);
134 async function createExampleAsync(inputPath: string, props: Options): Promise<void> {
144 const projectRoot = await resolveProjectRootArgAsync(inputPath, props);
/expo/packages/@expo/config/src/paths/
H A Dpaths.ts10 export function ensureSlash(inputPath: string, needsSlash: boolean): string {
11 const hasSlash = inputPath.endsWith('/');
13 return inputPath.substr(0, inputPath.length - 1);
15 return `${inputPath}/`;
17 return inputPath;
/expo/packages/@expo/cli/src/start/server/middleware/
H A DCreateFileMiddleware.ts31 protected resolvePath(inputPath: string): string {
32 return this.resolveExtension(path.join(this.projectRoot, inputPath));
35 protected resolveExtension(inputPath: string): string {
36 let resolvedPath = inputPath;
37 const extension = path.extname(inputPath);
/expo/packages/@expo/config/build/paths/
H A Dpaths.js50 function ensureSlash(inputPath, needsSlash) { argument
51 const hasSlash = inputPath.endsWith('/');
53 return inputPath.substr(0, inputPath.length - 1);
55 return `${inputPath}/`;
57 return inputPath;
H A Dpaths.d.ts2 export declare function ensureSlash(inputPath: string, needsSlash: boolean): string;
H A Dpaths.js.map1inputPath","needsSlash","hasSlash","endsWith","substr","length","getPossibleProjectRoot","fs","rea…