Skip to main content

Module fs

Module fs 

Source
Expand description

The filesystem calls Store makes for object files, behind an interface so tests can simulate a crash. The catalog is SQLite, which does its own I/O and is durable once a commit returns.

Structs§

OsFs
The operating system’s filesystem. No test can see whether a sync reached the disk without cutting power, so Store’s crash tests use the crash filesystem’s model of syncing instead.

Constants§

DIR_MODE
The mode of every directory the server makes, as FILE_MODE.
FILE_MODE
The mode of every file the server makes: the service account’s alone, whatever the umask of the process. The umask can only take bits away, and these have none for group or others to lose.

Traits§

Fs
The filesystem calls Store makes.