-
Notifications
You must be signed in to change notification settings - Fork 1
Documentation
Jessica Winssinger edited this page Apr 18, 2018
·
5 revisions
A snapfile is just the name of a given file that you hope to version.
A given project's metadata. (Equivalent to a superblock in other file systems.) A SuperSdir stores
char* fname; //< Name of snapfile
size_t scount; //< # of snapshots (versions)
char* curr_snap; //< Current working snapshot
uint64_t curr_fh; //< Current snapshot file handle
A directory that stores a given version in the project tree. A Sdir stores
char* snap_num; //< Snapshot (version) number
uint64_t sfh; //< File handle of snapfile
mode_t smode; //< Mode for snapfile
size_t ssize; //< Size of snapfile
size_t size; //< ssize + size of subtree
size_t entry_cnt; //< # of entries in the Sdir