MCPcopy 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
13func newFileIndex() *fileIndex {
14 return &fileIndex{
15 fileMap: make(map[string]*FileInformation),
16 }
17}
18
19func (f *fileIndex) Lock() {
20 f.fileMapMutex.Lock()

Callers 3

NewSyncFunction · 0.85
TestCreateDirInFileMapFunction · 0.85
TestRemoveDirInFileMapFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestCreateDirInFileMapFunction · 0.68
TestRemoveDirInFileMapFunction · 0.68