MCPcopy Index your code
hub / github.com/perkeep/perkeep / String

Method String

pkg/server/share.go:87–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85}
86
87func (ec errorCode) String() string {
88 if ec < 0 || int(ec) >= len(errorCodeStr) || errorCodeStr[ec] == "" {
89 return fmt.Sprintf("ErrCode#%d", int(ec))
90 }
91 return errorCodeStr[ec]
92}
93
94type shareError struct {
95 code errorCode

Callers 15

handleGetViaSharingMethod · 0.45
bytesHaveSchemaLinkFunction · 0.45
scaledCachedMethod · 0.45
ServeHTTPMethod · 0.45
fileInfoPackedFunction · 0.45
ServeFileMethod · 0.45
PutMethod · 0.45
TestHandleGetViaSharingFunction · 0.45
TestHandleShareDeletionFunction · 0.45

Calls

no outgoing calls

Tested by 6

TestHandleGetViaSharingFunction · 0.36
TestHandleShareDeletionFunction · 0.36
compareConfigurationsFunction · 0.36