Overview
Resources
A resource is a fancy name for a file. The reason for the fancy name is that
A Resource is described in the file Page.onet, and contains at least the following fields:
-
Type:DirectoryorFile -
URN: TheGUID(which is actually a UUID4) of the resource. This uniquely identifies it to the system. -
Last-Version: TheUUIDwhich refers to the latest version
Content
Content is stored either as a flat file or as chunks. The chunker is not currently operational but I plan to use buzhash and rabin-karp for the chunking algorithms.