aboutsummaryrefslogtreecommitdiff
path: root/bpkg/archive
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-05-01 13:50:13 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-01 15:02:14 +0300
commit2319d01e262b705716e19474865f555f3ca81a7d (patch)
tree15ffb5b3f998a2cc0def729d2f1f76f578d8d139 /bpkg/archive
parent5fb0df6f63e02c141e8a0e5ad4543dea525df3fc (diff)
Add hxx extension for headers and lib prefix for library dirs
Diffstat (limited to 'bpkg/archive')
-rw-r--r--bpkg/archive40
1 files changed, 0 insertions, 40 deletions
diff --git a/bpkg/archive b/bpkg/archive
deleted file mode 100644
index 1f33538..0000000
--- a/bpkg/archive
+++ /dev/null
@@ -1,40 +0,0 @@
-// file : bpkg/archive -*- C++ -*-
-// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
-// license : MIT; see accompanying LICENSE file
-
-#ifndef BPKG_ARCHIVE
-#define BPKG_ARCHIVE
-
-#include <butl/process>
-
-#include <bpkg/types>
-#include <bpkg/utility>
-
-#include <bpkg/common-options>
-
-namespace bpkg
-{
- // Return the package directory based on the package archive.
- //
- dir_path
- package_dir (const path& archive);
-
- // Start the process of extracting the specified file from the archive. If
- // error is false, then redirect STDERR to /dev/null (this can be used, for
- // example, to suppress diagnostics).
- //
- // Return a pair of processes that form a pipe. Wait on the second first.
- //
- pair<butl::process, butl::process>
- start_extract (const common_options&,
- const path& archive,
- const path& file,
- bool error = true);
-
- // Start as above and then extract the file content as a string.
- //
- string
- extract (const common_options&, const path& archive, const path& file);
-}
-
-#endif // BPKG_ARCHIVE