isClean property

bool get isClean

Whether the cache is fully up-to-date with the filesystem.

Implementation

bool get isClean => modified.isEmpty && added.isEmpty && removed.isEmpty;