artifactize-tools 0.27.1

Portable scoped tools and safe file access for artifactize.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Literal lookup with the environment used for started programs.

use std::{
    io,
    path::{Path, PathBuf},
};

pub use artifactize_foundation::platform::program::{candidates, resolve_with};

pub fn resolve(program: &Path, cwd: &Path) -> io::Result<PathBuf> {
    resolve_with(program, cwd, super::environment::var)
}