isVisited method

  1. @override
bool isVisited(
  1. String fileId
)
inherited

Returns true if the file has been visited.

Typically we know if asset has been visited by checking if it has a digest of it's content

Implementation

@override
bool isVisited(String fileId) {
  return assets.containsKey(fileId) && assets[fileId]?[GraphIndex.assetDigest] != null;
}