MCPcopy
hub / github.com/syncthing/syncthing / Index

Method Index

lib/protocol/nativemodel_windows.go:28–31  ·  view source on GitHub ↗
(idx *Index)

Source from the content-addressed store, hash-verified

26}
27
28func (m nativeModel) Index(idx *Index) error {
29 idx.Files = fixupFiles(idx.Files)
30 return m.rawModel.Index(idx)
31}
32
33func (m nativeModel) IndexUpdate(idxUp *IndexUpdate) error {
34 idxUp.Files = fixupFiles(idxUp.Files)

Callers

nothing calls this directly

Calls 2

fixupFilesFunction · 0.85
IndexMethod · 0.65

Tested by

no test coverage detected