diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-01-10 23:33:31 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-01-12 13:07:30 +0300 |
commit | 01c179eed3fcfccc7cdd262742935177dfcf5106 (patch) | |
tree | b6044897e1e752d5454f6144618ef8d46d661438 /bpkg/utility.hxx | |
parent | 14d987674aa01cfc41f7cda4932cb5808b3ef738 (diff) |
Assume git repository protocol as smart if HTTP response code is 401
Diffstat (limited to 'bpkg/utility.hxx')
-rw-r--r-- | bpkg/utility.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bpkg/utility.hxx b/bpkg/utility.hxx index 1f5c725..8e7260a 100644 --- a/bpkg/utility.hxx +++ b/bpkg/utility.hxx @@ -246,6 +246,12 @@ namespace bpkg template <typename... A> void run_b (const common_options&, verb_b, A&&... args); + + // Read out the data from the specified file descriptor and dump it to + // stderr. Throw io_error on the underlying OS errors. + // + void + dump_stderr (auto_fd&&); } #include <bpkg/utility.txx> |