Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/kopia/kopia
/ IsDir
Method
IsDir
snapshot/snapshotfs/repofs.go:32–34 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
30
}
31
32
func
(e *repositoryEntry) IsDir() bool {
33
return
e.Mode().IsDir()
34
}
35
36
func
(e *repositoryEntry) Mode() os.FileMode {
37
switch
e.metadata.Type {
Callers
11
AddExcluded
Method · 0.45
createDirectory
Method · 0.45
deleteExtraFilesInDir
Method · 0.45
copyDirectoryContent
Method · 0.45
verifyObject
Method · 0.45
iterateAllNames
Function · 0.45
CalculateStorageStats
Function · 0.45
Estimate
Function · 0.45
processSingle
Method · 0.45
wrapIgnorefs
Method · 0.45
findAllEntries
Function · 0.45
Calls
1
Mode
Method · 0.95
Tested by
2
iterateAllNames
Function · 0.36
findAllEntries
Function · 0.36