Struct reproto_repository::NoIndex
[−]
[src]
pub struct NoIndex;
Trait Implementations
impl Index for NoIndex
[src]
fn resolve(&self, _: &RpPackage, _: &Range) -> Result<Vec<Deployment>>
[src]
Resolve the given version of a package.
fn all(&self, _: &RpPackage) -> Result<Vec<Deployment>>
[src]
Get all versions available of a given package. Read more
fn put_version(
&self,
_: &Checksum,
_: &RpPackage,
_: &Version,
_: bool
) -> Result<()>
[src]
&self,
_: &Checksum,
_: &RpPackage,
_: &Version,
_: bool
) -> Result<()>
fn get_deployments(&self, _: &RpPackage, _: &Version) -> Result<Vec<Deployment>>
[src]
fn objects_url(&self) -> Result<&str>
[src]
Get an objects URL as configured in the index.
If relative, will cause objects to be loaded from the same repository as the index.
fn objects_from_index(&self, _: &RelativePath) -> Result<Box<Objects>>
[src]
Load objects relative to the index repository.
fn update(&self) -> Result<Vec<Update>>
[src]
Update local caches related to the index.