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

Method input_dir

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

Returns the input directory of the [`PackageInput`] as [`Path`] reference.

(&self)

Source from the content-addressed store, hash-verified

514impl PackageInput {
515 /// Returns the input directory of the [`PackageInput`] as [`Path`] reference.
516 pub fn input_dir(&self) -> &Path {
517 self.input_dir.as_ref()
518 }
519
520 /// Returns a reference to the [`BuildInfo`] data of the [`PackageInput`].
521 ///

Callers 1

newMethod · 0.80

Calls 1

as_refMethod · 0.45

Tested by

no test coverage detected