Documentation
¶
Overview ¶
Package media owns platform-agnostic IM attachment directories. Media that is referenced by a persisted message is stored under Quartet data and is never swept. Disposable processing files use a separate runtime cache.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PersistentDir ¶
PersistentDir returns the directory for media referenced by durable IM, user-input, Job or session records.
func StartCacheCleanup ¶
StartCacheCleanup launches a background sweeper that removes stale IM media cache files from the dedicated cache directories. It also runs one immediate sweep on startup so leftovers from previous runs do not linger.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.