// file : bdep/sync.hxx -*- C++ -*- // copyright : Copyright (c) 2014-2017 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file #ifndef BDEP_SYNC_HXX #define BDEP_SYNC_HXX #include #include #include #include namespace bdep { // If fetch is false, don't perform a (shallow) fetch of the project // repository. If yes is false, then don't suppress bpkg prompts. // void cmd_sync (const common_options&, const dir_path& prj, const shared_ptr&, bool fetch = true, bool yes = true); int cmd_sync (const cmd_sync_options&, cli::scanner& args); } #endif // BDEP_SYNC_HXX