UNPKG

vike

Version:

The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.

15 lines (14 loc) 571 B
export { assertFilePathAbsoluteFilesystem }; export { isFilePathAbsolute }; /** * Asserts that `filePath` is an absolute file path starting from the filesystem root. * * It isn't reliable for Linux users, but that's okay because the assertion will eventually fail on windows. */ declare function assertFilePathAbsoluteFilesystem(filePath: string): void; /** * Whether `filePath` is an absolute file path. * * Returns `true` regardless whether it starts from the user root dir or filesystem root. */ declare function isFilePathAbsolute(filePath: string): boolean;