Skip to main content

Module files

Module files 

Source
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 files list.
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 .gitignore specfold keeps inside a bundle, so files held in the store are never committed even after spec fetch puts them back on disk.
store
Stores for attachments too large for the repository.