// file : brep/mod-repository-details -*- C++ -*- // copyright : Copyright (c) 2014-2016 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file #ifndef BREP_MOD_REPOSITORY_DETAILS #define BREP_MOD_REPOSITORY_DETAILS #include // database #include #include #include #include namespace brep { class repository_details: public module { public: repository_details () = default; // Create a shallow copy (handling instance) if initialized and a deep // copy (context exemplar) otherwise. // explicit repository_details (const repository_details&); virtual bool handle (request&, response&); virtual const cli::options& cli_options () const {return options::repository_details::description ();} private: virtual void init (cli::scanner&); private: shared_ptr options_; shared_ptr db_; }; } #endif // BREP_MOD_REPOSITORY_DETAILS