MCPcopy
hub / github.com/jvilk/BrowserFS / isAvailable

Method isAvailable

src/core/file_system.ts:378–378  ·  view source on GitHub ↗

* **Core**: Returns 'true' if this filesystem is available in the current * environment. For example, a `localStorage`-backed filesystem will return * 'false' if the browser does not support that API. * * Defaults to 'false', as the FileSystem base class isn't usable alone.

()

Source from the content-addressed store, hash-verified

376 * Defaults to 'false', as the FileSystem base class isn't usable alone.
377 */
378 isAvailable(): boolean;
379}
380
381/**

Callers 12

DBFSFactoryFunction · 0.65
HTML5FSFactoryFunction · 0.65
IsoFSFactoryFunction · 0.65
ZipFSFactoryFunction · 0.65
InMemoryFSFactoryFunction · 0.65
WorkerFSFactoryFunction · 0.65
MFSFactoryFunction · 0.65
IDBFSFactoryFunction · 0.65
LSFSFactoryFunction · 0.65
XHRFSFactoryFunction · 0.65
isAvailableMethod · 0.65
initializeMethod · 0.65

Implementers 13

MountableFileSystemsrc/backend/MountableFileSystem.ts
EmscriptenFileSystemsrc/backend/Emscripten.ts
HTML5FSsrc/backend/HTML5FS.ts
WorkerFSsrc/backend/WorkerFS.ts
IsoFSsrc/backend/IsoFS.ts
OverlayFSsrc/backend/OverlayFS.ts
FolderAdaptersrc/backend/FolderAdapter.ts
ZipFSsrc/backend/ZipFS.ts
IndexedDBFileSystemsrc/backend/IndexedDB.ts
LocalStorageFileSystemsrc/backend/LocalStorage.ts
XmlHttpRequestsrc/backend/XmlHttpRequest.ts
AsyncMirrorsrc/backend/AsyncMirror.ts

Calls

no outgoing calls

Tested by

no test coverage detected