[−][src]Module esl01_indexedlog::utils
Statics
CHMOD_DIR | Default chmod mode for directories. u: rwx g:rws o:r-x |
CHMOD_FILE | Default chmod mode for atomic_write files. |
CHOWN_GID | |
CHOWN_UID |
|
SYMLINK_ATOMIC_WRITE | If set to true, prefer symlinks to normal files for atomic_write. |
Functions
atomic_read | Read the entire file written by |
atomic_write | Atomically create or replace a file with the given content.
Attempt to use symlinks on unix if |
atomic_write_plain | Atomically create or replace a file with the given content. Use a plain file. Do not use symlinks. |
mmap_bytes | Return a read-only view of the entire file. |
mmap_path | Similar to |
open_dir | Open a path. Usually for locking purpose. |
xxhash | |
xxhash32 |