From e6801007ee84095846a358e19508136afac75659 Mon Sep 17 00:00:00 2001 From: Justin Harms Date: Mon, 1 Jun 2026 05:58:15 -0500 Subject: [PATCH] Refactor constants in filesystem.go for improved readability - Adjusted formatting of constant declarations in `filesystem.go` to enhance code clarity and maintainability. --- internal/storage/filesystem.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/internal/storage/filesystem.go b/internal/storage/filesystem.go index 4c74cdd..134c2db 100644 --- a/internal/storage/filesystem.go +++ b/internal/storage/filesystem.go @@ -21,12 +21,12 @@ import ( ) const ( - indexFilename = "metadata" - filesDirName = "scratches" - encryptedChunkSize = 64 * 1024 - publicIDLength = 12 - publicIDAlphabet = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" - publicIDMaxAttempts = 8 + indexFilename = "metadata" + filesDirName = "scratches" + encryptedChunkSize = 64 * 1024 + publicIDLength = 12 + publicIDAlphabet = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" + publicIDMaxAttempts = 8 ) var ErrNotFound = errors.New("scratch not found")