Pathos API Documentation for Permissions

December 18, 2020 ยท View on GitHub

public protocol Permissions

OS agnostic permissions for a file path.

Types Conforming to Permissions

  • POSIXPermissions
  • WindowsAttributes

Properties

var isReadOnly: Bool

Whether the file is read only. NOTE: setting this value does not change the permission of the path on file system. Use Path.set(_:) with the updated value to achieve that.

Contents

  1. 0.1Types Conforming to Permissions
  2. 0.2Properties