MCPcopy
hub / github.com/syncthing/syncthing / NewFolderStatisticsReference

Function NewFolderStatisticsReference

lib/stats/folder.go:30–34  ·  view source on GitHub ↗
(kv *db.Typed)

Source from the content-addressed store, hash-verified

28}
29
30func NewFolderStatisticsReference(kv *db.Typed) *FolderStatisticsReference {
31 return &FolderStatisticsReference{
32 kv: kv,
33 }
34}
35
36func (s *FolderStatisticsReference) GetLastFile() (LastFile, error) {
37 at, ok, err := s.kv.Time("lastFileAt")

Callers 1

newFolderFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected