MCPcopy Index your code
hub / github.com/SignTools/SignTools / newUpload

Function newUpload

src/storage/upload.go:61–65  ·  view source on GitHub ↗
(id string)

Source from the content-addressed store, hash-verified

59}
60
61func newUpload(id string) *upload {
62 return &upload{id: id, FileSystemBase: FileSystemBase{resolvePath: func(name FSName) string {
63 return util.SafeJoinFilePaths(uploadsPath, string(name))
64 }}}
65}
66
67func (u *upload) delete() error {
68 u.mu.Lock()

Callers 2

loadUploadFunction · 0.85
AddMethod · 0.85

Calls 1

SafeJoinFilePathsFunction · 0.92

Tested by

no test coverage detected