gofmt
This commit is contained in:
parent
2f38af12a2
commit
86cbbcb8bd
|
@ -33,6 +33,7 @@ const (
|
|||
|
||||
maxUint64 uint64 = (1 << 64) - 1
|
||||
)
|
||||
|
||||
var sizeRegex = regexp.MustCompile("\\A([0-9]+) ?([KMGTPE]?B?)\\z")
|
||||
|
||||
// NewComponent starts a new component and wraps it in
|
||||
|
|
|
@ -11,6 +11,7 @@ import (
|
|||
|
||||
// StorageQuota is a value from config parsed to bytes number
|
||||
var StorageQuota uint64
|
||||
|
||||
// CachedStorageSize estimates the storage size between full rescans
|
||||
var CachedStorageSize uint64
|
||||
var StorageLock = sync.Mutex{}
|
||||
|
|
Loading…
Reference in a new issue