entry method
Gets the entry at the given path
.
Implementation
@override
Future<ArchiveEntry> entry(String path) async {
File file = File(join(directory.path, path));
if (!isWithin(directory.path, file.path) ||
!await FileSystemEntity.isFile(file.path)) {
throw Exception("No file entry at path $path.");
}
return ExplodedEntry(file, directory);
}