Enum git_checks::checks::ChangelogStyle
[−]
[src]
pub enum ChangelogStyle {
Directory {
path: String,
extension: Option<String>,
},
File {
path: String,
},
}The style of changelog management in use.
Variants
DirectoryA directory stores a file per changelog entry.
Fields of Directory
path: String | The path to the directory containing changelog entry files. |
extension: Option<String> | The extension used for changelog files. |
FileA file contains the changelog entries for a project.
Fields of File
path: String | The path to the changelog. |
Methods
impl ChangelogStyle[src]
fn file<P>(path: P) -> Self where
P: ToString, [src]
P: ToString,
A changelog stored in a file at a given path.
fn directory<P>(path: P, ext: Option<String>) -> Self where
P: ToString, [src]
P: ToString,
A directory containing many files, each with a changelog entry.
Entries may also be required to have a given extension.