HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/anaconda3/Library/include/mamba/api/list.hpp
// 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_LIST_HPP
#define MAMBA_API_LIST_HPP

#include <string>

namespace mamba
{
    class ChannelContext;
    class Configuration;

    void list(Configuration& config, const std::string& regex);

    namespace detail
    {
        void list_packages(std::string regex, ChannelContext& channel_context);

        struct formatted_pkg;

        bool compare_alphabetically(const formatted_pkg& a, const formatted_pkg& b);
    }
}

#endif