MCPcopy
hub / github.com/syncthing/syncthing / IsDirectory

Method IsDirectory

lib/protocol/bep_fileinfo.go:371–373  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

369}
370
371func (f FileInfo) IsDirectory() bool {
372 return f.Type == FileInfoTypeDirectory
373}
374
375func (f FileInfo) ShouldConflict() bool {
376 return f.LocalFlags&LocalConflictFlags != 0

Callers 15

FileSizeMethod · 0.95
recheckFileMethod · 0.45
GlobalDirectoryTreeMethod · 0.45
handleMethod · 0.45
UpdateMethod · 0.45
emitDiskChangeEventsMethod · 0.45
revertMethod · 0.45
TestInternalScanFunction · 0.45
processNeededMethod · 0.45

Calls

no outgoing calls

Tested by 2

TestInternalScanFunction · 0.36
TestStopWalkFunction · 0.36