pub struct FileReferenceValidator { /* private fields */ }Expand description
Validates that file references in skill instructions follow the Agent Skills spec
Requirements:
- References must be relative paths from the skill root
- Must be one level deep (no nested chains like
references/subdir/file.md) - Must reference files in supported directories: scripts/, references/, assets/
- Referenced files must exist
Implementations§
Auto Trait Implementations§
impl Forget for FileReferenceValidator
impl Freeze for FileReferenceValidator
impl Move for FileReferenceValidator
impl RefUnwindSafe for FileReferenceValidator
impl Send for FileReferenceValidatorwhere
RawVecInner: Send,
impl Sync for FileReferenceValidatorwhere
RawVecInner: Sync,
impl Unpin for FileReferenceValidator
impl UnsafeUnpin for FileReferenceValidator
impl UnwindSafe for FileReferenceValidatorwhere
RawVecInner: UnwindSafe,
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