Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Hind-M committed Sep 5, 2024
1 parent 8fb8053 commit 90ad1c3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
5 changes: 3 additions & 2 deletions libmamba/src/api/pip_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
#include <reproc++/run.hpp>
#include <reproc/reproc.h>

#include "mamba/api/install.hpp"
#include "mamba/core/activation.hpp"
// TODO includes to be removed after moving some functions/structs around
#include "mamba/api/install.hpp" // other_pkg_mgr_spec
#include "mamba/core/activation.hpp" // get_path_dirs
#include "mamba/core/context.hpp"
#include "mamba/core/util.hpp"
#include "mamba/fs/filesystem.hpp"
Expand Down
13 changes: 9 additions & 4 deletions libmamba/src/api/pip_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,21 @@
#ifndef MAMBA_PIP_UTILS_HPP
#define MAMBA_PIP_UTILS_HPP

#include <stdexcept>
#include <string>
#include <vector>

// TODO: move elements from `mamba/api/install.hpp` here
#include "mamba/api/install.hpp"
#include "mamba/core/context.hpp"

#include "tl/expected.hpp"

namespace mamba
{
class Context;

namespace detail
{
struct other_pkg_mgr_spec;
}

namespace pip
{
enum class Update : bool
Expand Down

0 comments on commit 90ad1c3

Please sign in to comment.