isWritable function

bool isWritable(
  1. String path
)

checks if the passed path (a file or directory) is writable by the user that owns this process @Throwing(posix.StatException) @Throwing(UnsupportedError)

Implementation

bool isWritable(String path) {
  core.verbose(() => 'isWritable: ${truepath(path)}');
  return _checkPermission(path, _writeBitMask);
}