pub struct Ingester {
pub options: IngestOptions,
pub cache: Option<RepositoryCache>,
pub cache_key: Option<String>,
/* private fields */
}Fields§
§options: IngestOptions§cache: Option<RepositoryCache>§cache_key: Option<String>Implementations§
Source§impl Ingester
impl Ingester
pub fn new(repo: Repository, options: IngestOptions) -> Self
pub fn from_path(path: &Path, options: IngestOptions) -> Result<Self>
pub fn from_url(url: &str, options: IngestOptions) -> Result<Self>
pub fn from_url_cached(url: &str, options: IngestOptions) -> Result<Self>
pub fn get_filter_preset(&self) -> Option<FilterPreset>
pub fn ingest<W: Write>(&self, output: &mut W) -> Result<()>
pub fn ingest_cached<W: Write>(&mut self, output: &mut W) -> Result<()>
pub fn get_filter_stats(&self) -> Result<FilterStats>
pub fn generate_diff(&self, base: &str, head: &str) -> Result<String>
pub fn get_metadata(&self) -> Result<RepositoryMetadata>
Auto Trait Implementations§
impl !Sync for Ingester
impl Freeze for Ingester
impl RefUnwindSafe for Ingester
impl Send for Ingester
impl Unpin for Ingester
impl UnsafeUnpin for Ingester
impl UnwindSafe for Ingester
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more