Expand description
Attachments: non-Markdown files that belong to a document, kept in the repository when small and in a store when large.
Modules§
- attach
- Attaching files to a document: decide where each file is kept, copy or upload it, and record
it in the document’s
fileslist. - fetch
- Bringing a document’s stored attachments back onto disk, verified by hash.
- hash
- Content hashes of attachments.
- hash_
cache - Attachment hashes remembered between runs, in the user’s cache directory, keyed by each file’s size and modification time. Checking that recorded hashes still match then reads only the files that changed.
- ignore_
file - The
.gitignorespecfold keeps inside a bundle, so files held in the store are never committed even afterspec fetchputs them back on disk. - store
- Stores for attachments too large for the repository.