Searched refs:stripBasePath (Results 1 – 8 of 8) sorted by relevance
| /expo/packages/expo-router/build/ |
| H A D | LocationProvider.js | 11 pathname: (0, getStateFromPath_1.stripBasePath)(path, basePath).split('?')['0'], 21 …segments: (0, getStateFromPath_1.stripBasePath)(pathname, basePath).split('/').filter(Boolean).map…
|
| H A D | LocationProvider.js.map | 1 …stripBasePath } from './fork/getStateFromPath';\n\ntype SearchParams = Record<string, string | str…
|
| /expo/packages/expo-router/src/ |
| H A D | LocationProvider.tsx | 2 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 D | getStateFromPath.test.node.ts | 6 stripBasePath, 21 describe(stripBasePath, () => { 39 expect(stripBasePath(path, basePath)).toBe(result);
|
| /expo/packages/expo-router/build/fork/ |
| H A D | getStateFromPath.d.ts | 57 export declare function stripBasePath(path: string, basePath?: string | undefined): string; function
|
| H A D | getStateFromPath.js | 29 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 D | getStateFromPath.js.map | 1 …stripBasePath(pathname, basePath).replace(/^\\/+/g, '').replace(/\\/+$/g, '') + '/',\n\n // Rea…
|
| /expo/packages/expo-router/src/fork/ |
| H A D | getStateFromPath.ts | 59 stripBasePath(pathname, basePath).replace(/^\/+/g, '').replace(/\/+$/g, '') + '/', 62 inputPathnameWithoutHash: stripBasePath(path, basePath).replace(/#.*$/, ''), 755 export function stripBasePath( function
|