Refactor constants in filesystem.go for improved readability
- Adjusted formatting of constant declarations in `filesystem.go` to enhance code clarity and maintainability.
This commit is contained in:
@@ -21,12 +21,12 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
indexFilename = "metadata"
|
indexFilename = "metadata"
|
||||||
filesDirName = "scratches"
|
filesDirName = "scratches"
|
||||||
encryptedChunkSize = 64 * 1024
|
encryptedChunkSize = 64 * 1024
|
||||||
publicIDLength = 12
|
publicIDLength = 12
|
||||||
publicIDAlphabet = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
|
publicIDAlphabet = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
|
||||||
publicIDMaxAttempts = 8
|
publicIDMaxAttempts = 8
|
||||||
)
|
)
|
||||||
|
|
||||||
var ErrNotFound = errors.New("scratch not found")
|
var ErrNotFound = errors.New("scratch not found")
|
||||||
|
|||||||
Reference in New Issue
Block a user