Function check_private_file

Source
pub fn check_private_file(path: &Path) -> Result<(), StoreError>
Expand description

Refuse links, special files and Unix credentials readable by other users. An absent destination is accepted for a new atomic write.