pub fn get_adapter_file(path: &str) -> Option<&'static [u8]>Expand description
Retrieves an embedded adapter file by its relative path within the adapters assets.
Returns Some(&[u8]) with the file contents if the path exists, None otherwise.
ยงExamples
use ito_templates::get_adapter_file;
let bytes = get_adapter_file("claude/session-start.sh").expect("adapter exists");
assert!(!bytes.is_empty());