- Project tools
- How do I...
|Over 500 more tools...
Re: [Catacomb] external storage of document data
Bryce Harrington wrote:
I thought about this a bit more and realized something...This approach
generates a ton of directory inodes that are not really necessary.
[file_num] is there for documents that are aggregates of multiple files
(such as a webpage and its img's, or a PDF plus attached spreadsheet).
Instead, I'd suggest using the minimum amount of information to uniquely
identify the data in the filesystem. Currently Catacomb only has two
things that uniquely identify it: the document id and the version id. So
one path idea would be (simply):
The other metadata (lang, file num, base, ext) are informative and
should be stored in Catacomb (only?) Is there any other reason to
reflect this metadata into the filesystem?
Anyways, again I'm working on a generalized fn so you could choose
whichever format you prefer.