pub struct FileNodeExtractor;Expand description
Fallback extractor: emits a single file node per blob, tagged with its blob
hash and basic size metadata. Produces no edges. Used for files with no
registered language.
Trait Implementations§
Source§impl Clone for FileNodeExtractor
impl Clone for FileNodeExtractor
impl Copy for FileNodeExtractor
Source§impl Debug for FileNodeExtractor
impl Debug for FileNodeExtractor
Source§impl Default for FileNodeExtractor
impl Default for FileNodeExtractor
Source§impl Extractor for FileNodeExtractor
impl Extractor for FileNodeExtractor
Source§fn env_tag(&self) -> u64
fn env_tag(&self) -> u64
Runtime inputs — beyond
(path, bytes) — that change extraction output
and so must be folded into the sync cache key: the installed OCR-model
identity and any IngestConfig toggles that gate extraction. The
default is the media-model tag alone; Registry additionally folds in
its ingestion config so toggling content off re-extracts affected blobs
instead of serving stale, content-bearing facts.Source§fn reads(&self, path: &str) -> bool
fn reads(&self, path: &str) -> bool
Whether
sync should read this path’s bytes at all. Read moreSource§fn mines(&self, path: &str) -> bool
fn mines(&self, path: &str) -> bool
Whether anything may be derived from what this path holds, beyond a
file’s identity. Read more
Source§fn paths(&self) -> &PathPolicy
fn paths(&self) -> &PathPolicy
The policy itself, for the one reader that needs to ask about a path it
has not been handed. Read more
Auto Trait Implementations§
impl Freeze for FileNodeExtractor
impl RefUnwindSafe for FileNodeExtractor
impl Send for FileNodeExtractor
impl Sync for FileNodeExtractor
impl Unpin for FileNodeExtractor
impl UnsafeUnpin for FileNodeExtractor
impl UnwindSafe for FileNodeExtractor
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