Skip to content

Commit 6241cc6

Browse files
committed
Remove unnecessary struct element
1 parent ab66f3c commit 6241cc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/hash_data.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func (mode *HashStorageMode) Parse(s string) error {
6161

6262
// NewHashDataAdapter is a function that creates a new HiddenFileDataAdapter on systems that do not override the default functionality.
6363
var NewHashDataAdapter = func(hashPath, dataPath string, mode HashStorageMode) (HashDataAdapter, error) {
64-
return &HiddenFileDataAdapter{hashPath, dataPath, &sync.Once{}}, nil
64+
return &HiddenFileDataAdapter{hashPath, dataPath}, nil
6565
}
6666

6767
// HashDataAdapter implements an interface to pull and set hash data on files based upon a relative path

0 commit comments

Comments
 (0)