Home
last modified time | relevance | path

Searched refs:stripBasePath (Results 1 – 8 of 8) sorted by relevance

/expo/packages/expo-router/build/
H A DLocationProvider.js11 pathname: (0, getStateFromPath_1.stripBasePath)(path, basePath).split('?')['0'],
21 …segments: (0, getStateFromPath_1.stripBasePath)(pathname, basePath).split('/').filter(Boolean).map…
H A DLocationProvider.js.map1stripBasePath } from './fork/getStateFromPath';\n\ntype SearchParams = Record<string, string | str…
/expo/packages/expo-router/src/
H A DLocationProvider.tsx2 import { stripBasePath } from './fork/getStateFromPath';
24 pathname: stripBasePath(path, basePath).split('?')['0'],
43 segments: stripBasePath(pathname, basePath).split('/').filter(Boolean).map(decodeURIComponent),
/expo/packages/expo-router/src/fork/__tests__/
H A DgetStateFromPath.test.node.ts6 stripBasePath,
21 describe(stripBasePath, () => {
39 expect(stripBasePath(path, basePath)).toBe(result);
/expo/packages/expo-router/build/fork/
H A DgetStateFromPath.d.ts57 export declare function stripBasePath(path: string, basePath?: string | undefined): string; function
H A DgetStateFromPath.js29 exports.stripBasePath = exports.getMatchableRouteConfigs = exports.getUrlWithReactNavigationConcess…
43 …nonstandardPathname: stripBasePath(pathname, basePath).replace(/^\/+/g, '').replace(/\/+$/g, '') +…
45 inputPathnameWithoutHash: stripBasePath(path, basePath).replace(/#.*$/, ''),
545 function stripBasePath(path, basePath = expo_constants_1.default.expoConfig?.experiments?.basePath)… function
554 exports.stripBasePath = stripBasePath;
H A DgetStateFromPath.js.map1stripBasePath(pathname, basePath).replace(/^\\/+/g, '').replace(/\\/+$/g, '') + '/',\n\n // Rea…
/expo/packages/expo-router/src/fork/
H A DgetStateFromPath.ts59 stripBasePath(pathname, basePath).replace(/^\/+/g, '').replace(/\/+$/g, '') + '/',
62 inputPathnameWithoutHash: stripBasePath(path, basePath).replace(/#.*$/, ''),
755 export function stripBasePath( function