Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/devspace-sh/devspace
/ newFileIndex
Function
newFileIndex
pkg/devspace/sync/file_index.go:13–17 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
11
}
12
13
func
newFileIndex() *fileIndex {
14
return
&fileIndex{
15
fileMap: make(
map
[string]*FileInformation),
16
}
17
}
18
19
func
(f *fileIndex) Lock() {
20
f.fileMapMutex.Lock()
Callers
3
NewSync
Function · 0.85
TestCreateDirInFileMap
Function · 0.85
TestRemoveDirInFileMap
Function · 0.85
Calls
no outgoing calls
Tested by
2
TestCreateDirInFileMap
Function · 0.68
TestRemoveDirInFileMap
Function · 0.68