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

Method diskSpace

src/generic/locked_fs.ts:39–42  ·  view source on GitHub ↗
(p: string, cb: (total: number, free: number) => any)

Source from the content-addressed store, hash-verified

37 }
38
39 public diskSpace(p: string, cb: (total: number, free: number) => any): void {
40 // FIXME: should this lock?
41 this._fs.diskSpace(p, cb);
42 }
43
44 public isReadOnly(): boolean {
45 return this._fs.isReadOnly();

Callers

nothing calls this directly

Calls 1

diskSpaceMethod · 0.65

Tested by

no test coverage detected