Files
photoprism/pkg/fs/const.go
2025-10-20 00:06:17 +02:00

54 lines
1.4 KiB
Go

package fs
// Common file names and patterns used across packages.
const (
PPIgnoreFilename = ".ppignore"
PPIgnoreAll = "*"
PPStorageFilename = ".ppstorage"
PPHiddenPathname = ".photoprism"
)
// Common directory names used across packages (sorted by name).
const (
AlbumsDir = "albums"
DownloadDir = "download"
BackupDir = "backup"
BuildDir = "build"
CacheDir = "cache"
CertificatesDir = "certificates"
NodeDir = "node"
PortalDir = "portal"
SecretsDir = "secrets"
CmdDir = "cmd"
ConfigDir = "config"
ExamplesDir = "examples"
IconsDir = "icons"
ImgDir = "img"
LocalesDir = "locales"
MediaDir = "media"
ModelsDir = "models"
ProfilesDir = "profiles"
SettingsDir = "settings"
SidecarDir = "sidecar"
StaticDir = "static"
StorageDir = "storage"
TemplatesDir = "templates"
TestdataDir = "testdata"
ThemeDir = "theme"
ThumbnailsDir = "thumbnails"
UploadDir = "upload"
UsersDir = "users"
ZipDir = "zip"
)
// Common file names used across packages (sorted by name).
const (
AppJsFile = "app.js"
AssetsJsonFile = "assets.json"
ManifestJsonFile = "manifest.json"
SwJsFile = "sw.js"
VersionTxtFile = "version.txt"
JoinTokenFile = "join_token"
ClientSecretFile = "client_secret"
)