Struct libgitdit::issue::Issue [] [src]

pub struct Issue<'r> { /* fields omitted */ }

Issue handle

Instances of this type represent single issues. Issues reside in repositories and are uniquely identified by an id.

Methods

impl<'r> Issue<'r>
[src]

[src]

Create a new handle for an issue with a given id

[src]

Get the issue's id

[src]

Get the issue's initial message

[src]

Get possible heads of the issue

Returns the head references from both the local repository and remotes for this issue.

[src]

Get the local issue head for the issue

Returns the head reference of the issue from the local repository, if present.

[src]

Get local references for the issue

Return all references of a specific type associated with the issue from the local repository.

[src]

Get remote references for the issue

Return all references of a specific type associated with the issue from all remote repositories.

[src]

Get references for the issue

Return all references of a specific type associated with the issue from both the local and remote repositories.

[src]

Get all Messages of the issue

The sorting of the underlying revwalk will be set to "topological".

[src]

Get Messages of the issue starting from a specific one

The Messages iterator returned will return all first parents up to and includingthe initial message of the issue.

[src]

Prepare a Messages iterator which will terminate at the initial message

[src]

Add a new message to the issue

Adds a new message to the issue. Also create a leaf reference for the new message. Returns the message.

[src]

Update the local head reference of the issue

Updates the local head reference of the issue to the provided message.

Warnings

The function will update the reference even if it would not be an fast-forward update.

[src]

Add a new leaf reference associated with the issue

Creates a new leaf reference for the message provided in the issue.

[src]

Get reference part for this issue

The references associated with an issue reside in paths specific to the issue. This function returns the part unique for the issue, e.g. the part after the dit/.

Trait Implementations

impl<'r> Display for Issue<'r>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'r> PartialEq for Issue<'r>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl<'r> Eq for Issue<'r>
[src]

impl<'r> Hash for Issue<'r>
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more