Skip to content

Commit

Permalink
Remove unnecessary struct element
Browse files Browse the repository at this point in the history
  • Loading branch information
adreed-msft committed Apr 24, 2024
1 parent 6bf2acd commit e06e447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/hash_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (mode *HashStorageMode) Parse(s string) error {

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

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

0 comments on commit e06e447

Please sign in to comment.