MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / isFileSystemFileHandle

Function isFileSystemFileHandle

src/utils/fileScanning.ts:13–15  ·  view source on GitHub ↗
(entry: FileSystemHandle)

Source from the content-addressed store, hash-verified

11}
12
13function isFileSystemFileHandle(entry: FileSystemHandle): entry is FileSystemFileHandle {
14 return entry.kind === 'file';
15}
16
17function isFileSystemDirectoryHandle(entry: FileSystemHandle): entry is FileSystemDirectoryHandle {
18 return entry.kind === 'directory';

Callers 1

scanDirectoryHandleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected