Struct rustsec::Repository[][src]

pub struct Repository { /* fields omitted */ }
Expand description

Git repository for a Rust advisory DB

Implementations

Location of the default advisory-db repository for crates.io

Fetch the default repository

Create a new [GitRepository] with the given URL and path

Open a repository at the given path

Get information about the latest commit to the repo

Path to the local checkout of a git repository

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

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.