34 lines
1.2 KiB
Go
34 lines
1.2 KiB
Go
package config
|
|
|
|
// directory settings
|
|
const homeDirectory = "directories.home"
|
|
const libraryDirectory = "directories.library"
|
|
const importDirectory = "directories.import"
|
|
const duplicatesDirectoy = "directories.duplicates"
|
|
|
|
// database settings
|
|
const databaseFile = "database.file"
|
|
const databaseInMemory = "database.inMemory"
|
|
const databaseBusyTimeout = "database.busyTimeout"
|
|
const databaseJournalMode = "database.journalMode"
|
|
const databaseChunkSize = "database.chunkSize"
|
|
|
|
// library settings
|
|
const libraryFormats = "library.formats"
|
|
const libraryChangedetectionModified = "library.changedetection.modified"
|
|
const libraryChangedetectionSize = "library.changedetection.size"
|
|
const libraryChangedetectionChecksum = "library.changedetection.checksum"
|
|
const libraryDuplicatesAction = "library.duplicates.action"
|
|
const libraryDuplicatesFormatMismatch = "library.duplicates.formatMismatch"
|
|
const libraryDuplicatesUseFingerprint = "library.duplicates.useFingerprint"
|
|
const libraryDuplicatesFingerprintThreshold = "library.duplicates.fingerprintThreshold"
|
|
|
|
// api settings
|
|
const apiListen = "api.listen"
|
|
const apiPort = "api.port"
|
|
|
|
// other settings
|
|
const concurrency = "concurrency"
|
|
const config = "config"
|
|
const help = "help"
|
|
const debug = "debug"
|