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

Method unlink

src/generic/key_value_filesystem.ts:908–910  ·  view source on GitHub ↗
(p: string, cb: BFSOneArgCallback)

Source from the content-addressed store, hash-verified

906 }
907
908 public unlink(p: string, cb: BFSOneArgCallback): void {
909 this.removeEntry(p, false, cb);
910 }
911
912 public rmdir(p: string, cb: BFSOneArgCallback): void {
913 // Check first if directory is empty.

Callers

nothing calls this directly

Calls 1

removeEntryMethod · 0.95

Tested by

no test coverage detected