shouldSkipBinaryContent function
Whether path should bypass the annotation transform pipeline.
Implementation
bool shouldSkipBinaryContent(String path) {
if (binaryContentBasenames.contains(p.basename(path))) {
return true;
}
return binaryContentExtensions.contains(
p.extension(path).toLowerCase(),
);
}