MCPcopy
hub / github.com/syncthing/syncthing / jsonFileInfo

TypeAlias jsonFileInfo

lib/api/api.go:1765–1765  ·  view source on GitHub ↗

Type wrappers for nice JSON serialization

Source from the content-addressed store, hash-verified

1763// Type wrappers for nice JSON serialization
1764
1765type jsonFileInfo protocol.FileInfo
1766
1767func (f jsonFileInfo) MarshalJSON() ([]byte, error) {
1768 m := fileIntfJSONMap(protocol.FileInfo(f))

Callers 3

getDBFileMethod · 0.85
getDebugFileMethod · 0.85
toJsonFileInfoSliceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected