MCPcopy Create free account
hub / github.com/FuzzAnything/PromptFuzz / parse_path

Method parse_path

src/program/serde.rs:213–217  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

211 }
212
213 pub fn parse_path(&mut self) -> Result<PathBuf> {
214 let path = self.consume_token_until("\n")?;
215 let path = PathBuf::from_str(path)?;
216 Ok(path)
217 }
218
219 pub fn remain(&self) -> &str {
220 self.input

Callers

nothing calls this directly

Calls 1

consume_token_untilMethod · 0.80

Tested by

no test coverage detected