get method
Implementation
SourceFile? get(String relativePath, String currentContent) {
final cached = _cache[relativePath];
if (cached == null) return null;
final currentHash = sha256.convert(utf8.encode(currentContent)).toString();
if (cached.contentHash == currentHash) {
return cached;
}
return null;
}