We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4c7a3d commit d7c14cdCopy full SHA for d7c14cd
libmambapy/src/libmambapy/bindings/legacy.cpp
@@ -1202,6 +1202,23 @@ bind_submodule_impl(pybind11::module_ m)
1202
py::arg("compression_threads") = 1
1203
);
1204
1205
+ m.def(
1206
+ "extract_package",
1207
+ [](const fs::u8path& file, const fs::u8path& destination, bool sparse)
1208
+ {
1209
+ return extract(
1210
+ file,
1211
+ destination,
1212
+ ExtractOptions{
1213
+ /* .sparse= */ sparse,
1214
+ // Unused by this function so we're not making it part of the API
1215
+ /* .subproc_mode= */ extract_subproc_mode::mamba_package,
1216
+ }
1217
+ );
1218
1219
1220
+
1221
1222
m.def("init_console", &init_console);
1223
1224
// fix extract from error_handling first
0 commit comments