rename config mod to file

This commit is contained in:
Edward Shen 2021-02-27 23:21:33 -05:00
parent 0ce311a1eb
commit 42a20c3dad
Signed by: edward
GPG key ID: 19182661E818369F
2 changed files with 5 additions and 5 deletions

View file

@ -82,7 +82,7 @@ enum LookupTreeNode<'a> {
/// value is `a = d`:
///
/// ```
/// # use git_config::config::GitConfig;
/// # use git_config::file::GitConfig;
/// # use std::borrow::Cow;
/// # use std::convert::TryFrom;
/// # let git_config = GitConfig::try_from("[core]a=b\n[core]\na=c\na=d").unwrap();
@ -173,7 +173,7 @@ impl<'a> GitConfig<'a> {
/// # Examples
///
/// ```
/// # use git_config::config::{GitConfig, GitConfigError};
/// # use git_config::file::{GitConfig, GitConfigError};
/// # use git_config::values::{Integer, Value, Boolean};
/// # use std::borrow::Cow;
/// # use std::convert::TryFrom;
@ -317,7 +317,7 @@ impl<'a> GitConfig<'a> {
/// Attempting to get all values of `a` yields the following:
///
/// ```
/// # use git_config::config::GitConfig;
/// # use git_config::file::GitConfig;
/// # use std::borrow::Cow;
/// # use std::convert::TryFrom;
/// # let git_config = GitConfig::try_from("[core]a=b\n[core]\na=c\na=d").unwrap();
@ -384,7 +384,7 @@ impl<'a> GitConfig<'a> {
/// Attempting to get all values of `a` yields the following:
///
/// ```
/// # use git_config::config::{GitConfig, GitConfigError};
/// # use git_config::file::{GitConfig, GitConfigError};
/// # use std::borrow::Cow;
/// # use std::convert::TryFrom;
/// # let mut git_config = GitConfig::try_from("[core]a=b\n[core]\na=c\na=d").unwrap();

View file

@ -22,7 +22,7 @@ extern crate serde_crate as serde;
// mod de;
// mod ser;
// mod error;
pub mod config;
pub mod file;
pub mod parser;
pub mod values;