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 Freeze for FileReferenceValidator
impl RefUnwindSafe for FileReferenceValidator
impl Send for FileReferenceValidator
impl Sync for FileReferenceValidator
impl Unpin for FileReferenceValidator
impl UnsafeUnpin for FileReferenceValidator
impl UnwindSafe for FileReferenceValidator
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