Expand description
Allows storing files to a file storage backend.
Modules§
- file_
utils - google_
cloud_ file_ store - local_
file_ store - media_
uploads - Where uploaded course media is stored, under which names, and how large it may be. Shared by the CMS upload and the agent upload so both put files in the same places under the same limits.
Traits§
- File
Store - Allows storing files to a file storage backend.
Functions§
- attachment_
content_ disposition Content-Dispositionthat makes browsers save the file asfile_name. The plainfilenameis an ASCII fallback for clients that ignore the RFC 6266filename*.- generate_
cache_ 🔒folder_ dir - organization_
audio_ path - organization_
file_ path - organization_
image_ path - path_
to_ 🔒str - repository_
exercise_ path