wex v24.10.0
Public Member Functions | List of all members
wex::factory::vcs_admin Class Reference

Offers several vcs admin support methods. More...

#include <wex/factory/vcs.h>

Public Member Functions

 vcs_admin (const std::string &admin, const path &p)
 Constructor.
 
bool exists () const
 Returns true if admin component exists for path.
 
bool is_toplevel () const
 Returns true if toplevel is not empty.
 
path toplevel () const
 Return toplevel dir.
 

Detailed Description

Offers several vcs admin support methods.

Constructor & Destructor Documentation

◆ vcs_admin()

wex::factory::vcs_admin::vcs_admin ( const std::string & admin,
const path & p )

Constructor.

Parameters
adminthe vcs admin dir or file
pthe current path