toPosixPermissions method

PosixPermissions toPosixPermissions()

Implementation

PosixPermissions toPosixPermissions() {
  switch (this) {
    case 'NONE':
      return PosixPermissions.none;
    case 'PRESERVE':
      return PosixPermissions.preserve;
  }
  throw Exception('$this is not known in enum PosixPermissions');
}