Skip to main content

Module private_file

Module private_file 

Source
Expand description

Create-once storage for private local state.

Unix receives restrictive permissions and final-component no-follow protection. Other platforms retain regular-file and create-once guarantees. They also retain atomic commit and file synchronization. This module does not configure platform account ACLs. Parent-directory synchronization is currently provided on Unix.

Constantsยง

PRIVATE_FILE_MODE ๐Ÿ”’

Functionsยง

load ๐Ÿ”’
load_or_create_with
Load a private regular file, or create it once from create.
not_regular_file ๐Ÿ”’
restrict ๐Ÿ”’