Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
371
func
(f FileInfo) IsDirectory() bool {
372
return
f.Type == FileInfoTypeDirectory
373
}
374
375
func
(f FileInfo) ShouldConflict() bool {
376
return
f.LocalFlags&LocalConflictFlags != 0
Callers
15
FileSize
Method · 0.95
recheckFile
Method · 0.45
GlobalDirectoryTree
Method · 0.45
computeProgressUpdates
Method · 0.45
handle
Method · 0.45
Update
Method · 0.45
scanSubdirsDeletedAndIgnored
Method · 0.45
emitDiskChangeEvents
Method · 0.45
revert
Method · 0.45
TestInternalScan
Function · 0.45
processNeeded
Method · 0.45
handleSymlinkCheckExisting
Method · 0.45
Calls
no outgoing calls
Tested by
2
TestInternalScan
Function · 0.36
TestStopWalk
Function · 0.36