We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e700284 commit 4b00d68Copy full SHA for 4b00d68
git-config/src/file/git_config.rs
@@ -135,12 +135,14 @@ impl<'event> GitConfig<'event> {
135
parse_from_path(path).map(Self::from)
136
}
137
138
- /// Constructs a `git-config` file from the provided paths.
+ /// Constructs a `git-config` file from the provided paths in the order provided.
139
///
140
/// # Errors
141
142
/// Returns an error if there was an IO error or if a file wasn't a valid
143
/// git-config file.
144
+ ///
145
+ /// [`git-config`'s documentation]: https://git-scm.com/docs/git-config#Documentation/git-config.txt-FILES
146
#[inline]
147
pub fn from_paths(paths: &[&Path]) -> Result<Self, ParserOrIoError<'static>> {
148
let mut config = Self::new();
0 commit comments