Struct reproto_repository::NoIndex
[−]
[src]
pub struct NoIndex;
Trait Implementations
impl Index for NoIndex
[src]
fn resolve(
&self,
_: &RpPackage,
_: Option<&VersionReq>
) -> Result<Vec<Deployment>>
[src]
&self,
_: &RpPackage,
_: Option<&VersionReq>
) -> Result<Vec<Deployment>>
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, _: &Path) -> Result<Box<Objects>>
[src]
Load objects relative to the index repository.
fn update(&self) -> Result<()>
[src]
Update local caches related to the index.