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]
impl ChangelogStylepub 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 ChangelogStyleAuto Trait Implementations
impl Send for ChangelogStyle
impl Send for ChangelogStyleimpl Sync for ChangelogStyle
impl Sync for ChangelogStyle