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

Method GetURL

script/object_drive.go:126–133  ·  view source on GitHub ↗
(ctx any)

Source from the content-addressed store, hash-verified

124}
125
126func (e Entry) GetURL(ctx any) *types.ContentURL {
127 vm := GetVM(ctx)
128 r, er := e.e.GetURL(GetContext(ctx))
129 if er != nil {
130 throwForVM(vm, er)
131 }
132 return r
133}
134
135func (e Entry) GetReader(ctx any, start, size int64) ReadCloser {
136 vm := GetVM(ctx)

Callers

nothing calls this directly

Calls 4

GetVMFunction · 0.85
GetContextFunction · 0.85
throwForVMFunction · 0.85
GetURLMethod · 0.65

Tested by

no test coverage detected