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

Method MakeDir

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

Source from the content-addressed store, hash-verified

45}
46
47func (d Drive) MakeDir(ctx any, path string) Entry {
48 vm := GetVM(ctx)
49 entry, e := d.d.MakeDir(GetContext(ctx), path)
50 if e != nil {
51 throwForVM(vm, e)
52 }
53 return NewEntry(entry)
54}
55
56func (d Drive) Copy(ctx any, from any, to string, override bool) Entry {
57 vm := GetVM(ctx)

Callers

nothing calls this directly

Calls 5

GetVMFunction · 0.85
GetContextFunction · 0.85
throwForVMFunction · 0.85
NewEntryFunction · 0.85
MakeDirMethod · 0.65

Tested by

no test coverage detected