directoryReleaseFiles method
Implementation
List<ReleaseFile> directoryReleaseFiles(Directory directory) {
var dirPath = directory.path;
var files = directory.listSync(recursive: true).whereType<File>().toList();
return files.map((f) => f.toReleaseFile(parentPath: dirPath)).toList();
}