pub struct MergeFile {
pub file: &'static str,
pub top_level: &'static [(&'static str, i64)],
pub trust_gated: bool,
}Expand description
The hook config file of a merge target, where its entries are appended.
Fields§
§file: &'static strUnder the target root.
top_level: &'static [(&'static str, i64)]Keys set at the top of the file before appending (Cursor’s version).
trust_gated: boolThe harness skips hooks it has not been told to trust, keyed on their position in
file (Codex): a sync that moves or adds one says so.
Trait Implementations§
impl Copy for MergeFile
impl Eq for MergeFile
impl StructuralPartialEq for MergeFile
Auto Trait Implementations§
impl Forget for MergeFile
impl Freeze for MergeFile
impl RefUnwindSafe for MergeFile
impl Send for MergeFile
impl Sync for MergeFile
impl Unpin for MergeFile
impl UnsafeUnpin for MergeFile
impl UnwindSafe for MergeFile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.