MCPcopy Create free account
hub / github.com/devld/go-drive / Delete

Method Delete

script/object_drive.go:83–88  ·  view source on GitHub ↗
(ctx any, path string)

Source from the content-addressed store, hash-verified

81}
82
83func (d Drive) Delete(ctx any, path string) {
84 vm := GetVM(ctx)
85 if e := d.d.Delete(GetTaskCtx(ctx), path); e != nil {
86 throwForVM(vm, e)
87 }
88}
89
90type Entry struct {
91 e types.IEntry

Callers

nothing calls this directly

Calls 4

GetVMFunction · 0.85
GetTaskCtxFunction · 0.85
throwForVMFunction · 0.85
DeleteMethod · 0.65

Tested by

no test coverage detected