We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bf2acd commit e06e447Copy full SHA for e06e447
common/hash_data.go
@@ -61,7 +61,7 @@ func (mode *HashStorageMode) Parse(s string) error {
61
62
// NewHashDataAdapter is a function that creates a new HiddenFileDataAdapter on systems that do not override the default functionality.
63
var NewHashDataAdapter = func(hashPath, dataPath string, mode HashStorageMode) (HashDataAdapter, error) {
64
- return &HiddenFileDataAdapter{hashPath, dataPath, &sync.Once{}}, nil
+ return &HiddenFileDataAdapter{hashPath, dataPath}, nil
65
}
66
67
// HashDataAdapter implements an interface to pull and set hash data on files based upon a relative path
0 commit comments