Struct centraldogma::RepoClient[][src]

pub struct RepoClient<'a> { /* fields omitted */ }
Expand description

A temporary client within context of a Repository.
Created by Client::repo()
Implements crate::ContentService and crate::WatchService

Trait Implementations

Retrieves the list of the files at the specified Revision matched by the path pattern. Read more

Queries a file at the specified Revision and path with the specified Query.

Retrieves the files at the specified Revision matched by the path pattern. Read more

Retrieves the history of the repository of the files matched by the given path pattern between two Revisions. Note that this method does not retrieve the diffs but only metadata about the changes. Use get_diff or get_diffs to retrieve the diffs Read more

Returns the diff of a file between two Revisions.

Retrieves the diffs of the files matched by the given path pattern between two Revisions. Read more

Pushes the specified Changes to the repository.

Returns a stream which output a WatchFileResult when the result of the given Query becomes available or changes Read more

Returns a stream which output a WatchRepoResult when the repository has a new commit that contains the changes for the files matched by the given path_pattern. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.