12#ifndef ZYPP2_REPOSTATUS_H
13#define ZYPP2_REPOSTATUS_H
122 {
return ! ( lhs == rhs ); }
Store and operate on date (time_t).
What is known about a repository.
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).
RepoStatus()
Default ctor.
void saveToCookieFile(const Pathname &path_r) const
Save the status information to a cookie file.
RepoStatus(RepoStatus &&) noexcept=default
RepoStatus(const RepoStatus &)=default
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.
bool operator==(const Capability &lhs, const Capability &rhs)
relates: Capability
const Arch Arch_empty ZYPP_API
relates: Arch This is an empty Arch represented by an empty string.
std::ostream & operator<<(std::ostream &str, const Capabilities &obj)
relates: Capabilities Stream output
RepoStatus operator&&(const RepoStatus &lhs, const RepoStatus &rhs)
relates: RepoStatus Combine two RepoStatus (combined checksum and newest timestamp)
RW_pointer supporting 'copy on write' functionality.
RepoStatus implementation.