download
raw
1.07 kB
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_API_UPDATE_HPP
#define MAMBA_API_UPDATE_HPP
namespace mamba
{
class Configuration;
enum class UpdateAll : bool
{
No = false,
Yes = true,
};
enum class PruneDeps : bool
{
No = false,
Yes = true,
};
enum class EnvUpdate : bool // Specific to `env update` command
{
No = false,
Yes = true,
};
enum class RemoveNotSpecified : bool // Specific to `env update` command
{
No = false,
Yes = true,
};
struct UpdateParams
{
UpdateAll update_all = UpdateAll::No;
PruneDeps prune_deps = PruneDeps::No;
EnvUpdate env_update = EnvUpdate::No;
RemoveNotSpecified remove_not_specified = RemoveNotSpecified::No;
};
void update(Configuration& config, const UpdateParams& update_params = {});
}
#endif

Xet Storage Details

Size:
1.07 kB
·
Xet hash:
871462ada0a3f4a379c4084f0452067fcb3e8961bf9b097e59fd36363f08e08a

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.