isDeleted property
bool
get
isDeleted
Whether the path was deleted, in the index or in the work tree.
Implementation
bool get isDeleted =>
indexState == GitFileState.deleted ||
workTreeState == GitFileState.deleted;