currentReleaseFilePath method
Returns a ReleaseFile.filePath from currentFiles that matches filePath
.
Implementation
Future<String?> currentReleaseFilePath(String filePath) async {
var releasePath = await currentReleasePath;
if (releasePath == null) return null;
var releaseFile = await currentReleaseFile(filePath);
if (releaseFile == null) return null;
var fullPath = joinPaths(releasePath, releaseFile.filePath);
return fullPath;
}