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

Offers a class that contains vcs factory methods. More...

#include <wex/factory/vcs.h>

Inheritance diagram for wex::factory::vcs:
Inheritance graph
[legend]

Public Member Functions

virtual bool is_dir_excluded (const path &) const
 Returns true if dir is to be excluded.
 
virtual bool is_file_excluded (const path &) const
 Returns true if file is set to be excluded.
 
virtual bool setup_exclude (const path &dir)
 Sets up the exclude files or dirs, return true if anything was added.
 
virtual ~vcs ()=default
 Destructor.
 
bool is_setup () const
 Returns whether setup was ok.
 

Protected Member Functions

bool is_setup (bool rhs)
 Sets the setup member, and return value.
 

Detailed Description

Offers a class that contains vcs factory methods.

Member Function Documentation

◆ is_dir_excluded()

virtual bool wex::factory::vcs::is_dir_excluded ( const path & ) const
inlinevirtual

Returns true if dir is to be excluded.

Default returns value of m_is_setup.

Reimplemented in wex::vcs.

◆ is_file_excluded()

virtual bool wex::factory::vcs::is_file_excluded ( const path & ) const
inlinevirtual

Returns true if file is set to be excluded.

Default returns value of m_is_setup.

Reimplemented in wex::vcs.

◆ setup_exclude()

virtual bool wex::factory::vcs::setup_exclude ( const path & dir)
inlinevirtual

Sets up the exclude files or dirs, return true if anything was added.

You should invoke is_setup(true) if anything was added. Default returns false.

Parameters
dirThe path to start with.

Reimplemented in wex::vcs.