25 #ifndef SVNXX_CLIENT_STATUS_HPP
26 #define SVNXX_CLIENT_STATUS_HPP
38 namespace subversion {
50 using status_callback = std::function<void(
const char* path,
57 enum class status_flags : std::uint_least32_t
61 check_out_of_date = 1U << 1,
62 check_working_copy = 1U << 2,
64 ignore_externals = 1U << 4,
65 depth_as_sticky = 1U << 5,
71 inline status_flags operator&(status_flags a, status_flags b)
73 return status_flags(std::uint_least32_t(a) & std::uint_least32_t(b));
79 inline status_flags operator|(status_flags a, status_flags b)
81 return status_flags(std::uint_least32_t(a) | std::uint_least32_t(b));
97 status(context& ctx,
const char* path,
98 const revision& rev, depth depth, status_flags flags,
99 status_callback callback);
116 svnxx::detail::future<revision::number>
117 status(std::launch policy, context& ctx,
const char* path,
118 const revision& rev, depth depth_, status_flags flags,
119 status_callback callback);
127 svnxx::detail::future<revision::number>
128 status(context& ctx,
const char* path,
129 const revision& rev, depth depth_, status_flags flags,
130 status_callback callback);
138 #endif // SVNXX_CLIENT_STATUS_HPP
number
Revision number type.
revision::number status(context &ctx, const char *path, const revision &rev, depth depth, status_flags flags, status_callback callback)
Perform a status operation on path.