mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-11 16:24:11 +01:00
54 lines
1.4 KiB
Go
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"
|
|
)
|