Skip to main content

open_append_nofollow

Function open_append_nofollow 

Source
pub fn open_append_nofollow(path: impl AsRef<Path>) -> Result<File, CoreError>
Expand description

Open an existing-or-create append stream that refuses to follow symlinks.

Appends to a regular file at path. If path is a symlink — or sits under a symlinked parent — the open fails with ELOOP rather than writing through it.