Skip to content

Commit ab66f3c

Browse files
committed
Remove sync.Once from struct
1 parent 43e5bb8 commit ab66f3c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

common/hash_data_adapter_hidden_files.go

-3
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,11 @@ import (
66
"io"
77
"os"
88
"path/filepath"
9-
"sync"
109
)
1110

1211
type HiddenFileDataAdapter struct {
1312
hashBasePath string // "" == dataBasePath
1413
dataBasePath string
15-
16-
createHashDirOnce *sync.Once
1714
}
1815

1916
func (a *HiddenFileDataAdapter) GetMode() HashStorageMode {

0 commit comments

Comments
 (0)