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
Directory
A 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. |
File
A file contains the changelog entries for a project.
Fields of File
path: String | The path to the changelog. |
Methods
impl ChangelogStyle
[src]
impl ChangelogStyle
pub fn file<P>(path: P) -> Self where
P: ToString,
[src]
pub fn file<P>(path: P) -> Self where
P: ToString,
A changelog stored in a file at a given path.
pub fn directory<P>(path: P, ext: Option<String>) -> Self where
P: ToString,
[src]
pub fn directory<P>(path: P, ext: Option<String>) -> Self where
P: ToString,
A directory containing many files, each with a changelog entry.
Entries may also be required to have a given extension.
Trait Implementations
impl Debug for ChangelogStyle
[src]
impl Debug for ChangelogStyle
Auto Trait Implementations
impl Send for ChangelogStyle
impl Send for ChangelogStyle
impl Sync for ChangelogStyle
impl Sync for ChangelogStyle