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

Method Index

lib/protocol/nativemodel_darwin.go:22–27  ·  view source on GitHub ↗
(idx *Index)

Source from the content-addressed store, hash-verified

20}
21
22func (m nativeModel) Index(idx *Index) error {
23 for i := range idx.Files {
24 idx.Files[i].Name = norm.NFD.String(idx.Files[i].Name)
25 }
26 return m.rawModel.Index(idx)
27}
28
29func (m nativeModel) IndexUpdate(idxUp *IndexUpdate) error {
30 for i := range idxUp.Files {

Callers

nothing calls this directly

Calls 2

StringMethod · 0.65
IndexMethod · 0.65

Tested by

no test coverage detected