MCPcopy Create free account
hub / github.com/Datakitpage/Datakit / isFileSystemAccessSupported

Function isFileSystemAccessSupported

frontend/src/hooks/useFileImport.ts:12–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10
11// Helper function to check File System Access API support
12const isFileSystemAccessSupported = (): boolean => {
13 return 'showOpenFilePicker' in window && 'FileSystemFileHandle' in window;
14};
15
16// File picker configuration
17const FILE_PICKER_CONFIG = {

Callers 1

useFileImportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected