Skip to content

Incorrect documentation of Root::create_file #319

@Riatre

Description

@Riatre

Documentation says:

    /// # Errors
    ///
    /// Identical to [`create`].

/// Identical to [`create`].

And then create:

    /// # Errors
    ///
    /// If the path already exists (regardless of the type of the existing
    /// inode), an error is returned.

However create_file does not return error, unless the caller explicitly add O_EXCL to the flags.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions