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

Function GetEntry

script/object_drive.go:94–100  ·  view source on GitHub ↗
(v any)

Source from the content-addressed store, hash-verified

92}
93
94func GetEntry(v any) types.IEntry {
95 switch v := v.(type) {
96 case Entry:
97 return v.e
98 }
99 return nil
100}
101
102func (e Entry) Path() string {
103 return e.e.Path()

Callers 3

CopyMethod · 0.85
MoveMethod · 0.85
vm_buildEntriesTreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected