pub struct TrackedFile {
pub path: String,
pub content_hash: String,
pub text: String,
}Expand description
A git-tracked file resolved to its current working-tree bytes, ready to
chunk. content_hash is the git blob SHA of text, used to detect changes
for incremental reindexing.
Fields§
§path: String§content_hash: String§text: StringTrait Implementations§
Source§impl Clone for TrackedFile
impl Clone for TrackedFile
Source§fn clone(&self) -> TrackedFile
fn clone(&self) -> TrackedFile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TrackedFile
impl RefUnwindSafe for TrackedFile
impl Send for TrackedFile
impl Sync for TrackedFile
impl Unpin for TrackedFile
impl UnsafeUnpin for TrackedFile
impl UnwindSafe for TrackedFile
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