MCPcopy Create free account
hub / github.com/archlinux/alpm / input_paths

Method input_paths

alpm-package/src/input.rs:596–601  ·  view source on GitHub ↗

Returns an [`InputPaths`] for the input directory and all relative paths contained in it.

(&self)

Source from the content-addressed store, hash-verified

594
595 /// Returns an [`InputPaths`] for the input directory and all relative paths contained in it.
596 pub fn input_paths(&self) -> Result<InputPaths<'_, '_>, crate::Error> {
597 Ok(InputPaths::new(
598 self.input_dir.as_path(),
599 &self.relative_paths,
600 )?)
601 }
602}
603
604impl TryFrom<InputDir> for PackageInput {

Callers 1

try_fromMethod · 0.80

Calls 1

as_pathMethod · 0.45

Tested by

no test coverage detected