Required Instance Methodswift-nio 2.72.0_NIOFileSystem

    addPermissions(_:)

    Adds permissions to the existing permissions set for the file.

    FileHandleProtocol.swift:63
    iOS
    13.0+
    macOS
    10.15+
    tvOS
    13.0+
    watchOS
    6.0+
    @discardableResult func addPermissions(_ permissions: FilePermissions) async throws -> FilePermissions

    Parameters

    permissions

    The permissions to add to the file.

    Returns

    The updated permissions.

    This is equivalent to retrieving the permissions, merging them with the provided permissions and then replacing the permissions on the file.

    See also

    Other requirements

    View members

    Hide members

    This section is hidden by default because it contains too many (10) members.

    Instance members

    Citizens in _NIOFileSystem

    Default implementations