Home
last modified time | relevance | path

Searched refs:ensureSlash (Results 1 – 5 of 5) sorted by relevance

/expo/packages/@expo/config/src/paths/__tests__/
H A Dpaths-test.ts1 import { ensureSlash, getEntryPointWithExtensions } from '../paths';
6 describe(ensureSlash, () => {
8 expect(ensureSlash('', true)).toBe('/');
9 expect(ensureSlash('/', true)).toBe('/');
12 expect(ensureSlash('', false)).toBe('');
13 expect(ensureSlash('/', false)).toBe('');
/expo/packages/@expo/config/build/paths/
H A Dpaths.js6 exports.ensureSlash = ensureSlash;
50 function ensureSlash(inputPath, needsSlash) { function
H A Dpaths.d.ts2 export declare function ensureSlash(inputPath: string, needsSlash: boolean): string; function
H A Dpaths.js.map1 …ensureSlash","inputPath","needsSlash","hasSlash","endsWith","substr","length","getPossibleProjectR…
/expo/packages/@expo/config/src/paths/
H A Dpaths.ts10 export function ensureSlash(inputPath: string, needsSlash: boolean): string { function