Determines whether other is a suffix of this.
bool endsWith(UnixPath other) => _string.endsWith(other._string);