MCPcopy Create free account
hub / github.com/PerroEngine/Perro / newest_demo_input_mtime

Function newest_demo_input_mtime

perro_website/build.rs:155–169  ·  view source on GitHub ↗
(project_root: &Path)

Source from the content-addressed store, hash-verified

153 for doc in docs {
154 for event in Parser::new(&doc.markdown) {
155 let target = match event {
156 Event::Start(Tag::Link { dest_url, .. })
157 | Event::Start(Tag::Image { dest_url, .. }) => dest_url,
158 _ => continue,
159 };
160 validate_generated_target(doc, target.as_ref(), &routes, &mut failures);
161 }
162 }
163
164 if failures.is_empty() {
165 Ok(())
166 } else {
167 Err(io::Error::new(
168 io::ErrorKind::InvalidData,
169 format!("docs validation failed:\n{}", failures.join("\n")),
170 ))
171 }
172}

Callers 1

needs_demo_rebuildFunction · 0.85

Calls 3

newest_mtimeFunction · 0.85
okMethod · 0.80
joinMethod · 0.80

Tested by

no test coverage detected