Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/archlinux/alpm
/ from_str
Method
from_str
alpm-buildinfo/src/cli.rs:48–50 ·
view source on GitHub ↗
(s: &str)
Source
from the content-addressed store, hash-verified
46
type Err = Error;
47
48
fn from_str(s: &str) -> Result<Self, Self::Err> {
49
Ok(OutputFile(PathBuf::from(s)))
50
}
51
}
52
53
/// The command-line interface handling for `alpm-buildinfo`.
Callers
nothing calls this directly
Calls
1
OutputFile
Class · 0.70
Tested by
no test coverage detected