/// Creates a `Clog` struct using a specific git working directory OR project directory.
/// Searches for the default configuration TOML file `.clog.toml`
///
/// **NOTE:** If you specify a `.git` folder the parent will be used as the working tree, and
/// vice versa.
///
/// # Example
///
/// ```no_run
/// # use clog::Clog;
/// let clog = Clog::with_dir("/myproject").unwrap_or_else(|e| {
///     e.exit();
/// });
/// ```
Creates a `Clog` struct using a specific git working directory OR project directory.
Searches for the default configuration TOML file `.clog.toml`

If you specify a `.git` folder the parent will be used as the working tree, and
vice versa.
Creates a ` Clog ` struct using a specific git working directory OR project directory . Searches for the default configuration TOML file ` . clog . toml ` If you specify a ` . git ` folder the parent will be used as the working tree and vice versa .
pub fn with_dir<P: AsRef<Path>>(dir: P) -> BuilderResult {
        debugln!("Creating clog with \n\tdir: {:?}", dir.as_ref());
        let clog = try!(Clog::_with_dir(dir));
        clog.try_config_file(Path::new(CLOG_CONFIG_FILE))
    }
pub fn with_dir < P : AsRef < Path > > ( dir : P ) -> BuilderResult { debugln ! ( " \n \t " dir as_ref ( ) ) ; let clog = try ! ( Clog with_dir ( dir ) ) ; clog . try_config_file ( Path :: new ( CLOG_CONFIG_FILE ) ) }
Creates a `Clog` struct using a specific git working directory OR project directory.
Creates a ` Clog ` struct using a specific git working directory OR project directory .
dir
P
example
None
use clog::clog;
None