Struct sit_core::repository::Repository [] [src]

pub struct Repository { /* fields omitted */ }

Repository is the container for all SIT artifacts

Methods

impl Repository
[src]

[src]

Attempts creating a new repository. Fails with Error::AlreadyExists if a repository already exists.

[src]

Attempts creating a new repository with a specified config. Fails with Error::AlreadyExists if a repository already exists.

[src]

Opens an existing repository. Fails if there's no valid repository at the given path

[src]

[src]

Populates repository with default files

[src]

Returns repository path

[src]

Returns issues path

[src]

Returns repository's config

[src]

Returns an unordered (as in "order not defined") issue iterator

[src]

Creates and returns a new issue with a unique ID

[src]

Creates and returns a new issue with a specific name. Will fail if there's an issue with the same name.

Trait Implementations

impl Debug for Repository
[src]

[src]

Formats the value using the given formatter.