MCPcopy
hub / github.com/syncthing/syncthing / Stat

Method Stat

lib/model/model_test.go:4149–4153  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

4147}
4148
4149func (f modtimeTruncatingFS) Stat(name string) (fs.FileInfo, error) {
4150 fmt.Println("stat", name)
4151 info, err := f.Filesystem.Stat(name)
4152 return modtimeTruncatingFileInfo{trunc: f.trunc, FileInfo: info}, err
4153}
4154
4155func (f modtimeTruncatingFS) Walk(root string, walkFn fs.WalkFunc) error {
4156 return f.Filesystem.Walk(root, func(path string, info fs.FileInfo, err error) error {

Callers

nothing calls this directly

Calls 1

StatMethod · 0.65

Tested by

no test coverage detected