MCPcopy Index your code
hub / github.com/ColmapView/Colmapview.github.io / getSplatFileExtension

Function getSplatFileExtension

src/utils/splatFilePolicy.ts:15–18  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

13}
14
15export function getSplatFileExtension(path: string): SplatFileExtension | null {
16 const lower = path.toLowerCase();
17 return SPLAT_FILE_EXTENSIONS.find((extension) => lower.endsWith(extension)) ?? null;
18}
19
20export function isSplatFilePath(path: string): boolean {
21 return getSplatFileExtension(path) !== null;

Callers 5

isSplatFilePathFunction · 0.85
getSplatCandidateRankFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected