# Functions
DirectoryFromOriginal builds one from a generic fs.Directory.
GetPersistent returns a single instance for the specific store.
NewDirectory builds an empty dir which will be used to unmarshal data in it.
NewFs constructs an Fs from the path, container:path.
NewMemory builds this cache storage defaultExpiration will set the expiry time of chunks in this storage.
NewObject builds one from a generic fs.Object.
NewObjectHandle returns a new Handle for an existing Object.
ObjectFromOriginal builds one from a generic fs.Object.
ShallowDirectory builds an empty dir which will be used to unmarshal data in it.
# Constants
BackgroundUploadCompleted is a state for a temp file that has completed upload.
BackgroundUploadError is a state for a temp file that has an error upload.
BackgroundUploadStarted is a state for a temp file that has started upload.
Constants.
DefCacheChunkCleanInterval is the interval at which chunks are cleaned.
DefCacheChunkNoMemory will enable or disable in-memory storage for chunks.
DefCacheChunkSize is the default value for chunk size.
DefCacheDbWaitTime defines how long the cache backend should wait for the DB to be available.
DefCacheInfoAge is the default value for object info age.
DefCacheReadRetries is the default value for read retries.
DefCacheRps limits the number of requests per second to the source FS.
DefCacheTmpWaitTime says how long should files be stored in local cache before being uploaded.
DefCacheTotalChunkSize is the default value for the maximum size of stored chunks.
DefCacheTotalWorkers is how many workers run in parallel to download chunks.
DefCacheWrites will cache file data on writes through the cache.
Constants.
Constants.
# Structs
BackgroundUploadState is an entity that maps to an existing file which is stored on the temp fs.
Directory is a generic dir that stores basic information about it.
Features flags for this storage type.
Fs represents a wrapped fs.Fs.
Handle is managing the read/write/seek operations on an open handle.
Memory is a wrapper of transient storage for a go-cache store.
NotificationContainer is part of the API response of Plex.
Object is a generic file like object that stores basic information about it.
Options defines the configuration for this backend.
Persistent is a wrapper of persistent storage for a bolt.DB file.
PlaySessionStateNotification is part of the API response of Plex.
PlexNotification is part of the API response of Plex.