Track changing files or directories.
static RepoStatus fromCookieFileUseMtime(const Pathname &path)
Reads the status from a cookie file but uses the files mtime.
RWCOW_pointer< Impl > _pimpl
Implementation.
static RepoStatus fromCookieFile(const Pathname &path)
Reads the status from a cookie file.
Date timestamp() const
The time the data were changed the last time.
bool empty() const
Whether the status is empty (empty checksum)
friend bool operator==(const RepoStatus &lhs, const RepoStatus &rhs)
friend RepoStatus operator&&(const RepoStatus &lhs, const RepoStatus &rhs)
friend std::ostream & operator<<(std::ostream &str, const RepoStatus &obj)
void saveToCookieFile(const Pathname &path_r) const
Save the status information to a cookie file.
RepoStatus(RepoStatus &&) noexcept=default
RepoStatus(const RepoStatus &)=default
RepoStatus implementation.