setReleaseFileExecutablePermission method

void setReleaseFileExecutablePermission(
  1. Release release,
  2. ReleaseFile file,
  3. bool executable
)

Implementation

void setReleaseFileExecutablePermission(
    Release release, ReleaseFile file, bool executable) {
  var dir = releaseDirectory(release);
  var localFile = file.toFile(parentDirectory: dir);

  setFileExecutablePermission(localFile, executable);
}