MCPcopy Create free account
hub / github.com/perkeep/perkeep / storageDesc

Function storageDesc

pkg/server/sync.go:1038–1043  ·  view source on GitHub ↗
(v interface{})

Source from the content-addressed store, hash-verified

1036}
1037
1038func storageDesc(v interface{}) string {
1039 if s, ok := v.(fmt.Stringer); ok {
1040 return s.String()
1041 }
1042 return fmt.Sprintf("%T", v)
1043}
1044
1045// TODO(bradfitz): implement these? what do they mean? possibilities:
1046// a) proxy to sh.from

Callers 2

currentStatusMethod · 0.85
ServeHTTPMethod · 0.85

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected