cargo-binstall/crates/binstalk/src
Jiahao XU 3da5cb9d9c
Check source_file_path to ensure it is valid (#421)
* Add new variant `BinstallError::DuplicateSourceFilePath`
* Check `bin.source` in `collect_bin_files`
* Add new variant `BinstallError::InvalidSourceFilePath`
* Make sure generated source_file_path cannot access outside curdir
* Add new variant `BinstallError::EmptySourceFilePath`
* Ensure source_file_path is not empty

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-09-25 13:32:34 +00:00
..
drivers Bump dep cargo_toml to v0.12.0 (#413) 2022-09-24 13:18:47 +12:00
fetchers Impl try multiple default bin dirs (#417) 2022-09-26 01:15:20 +13:00
helpers Verify that bin_files exist in resolve stage (#382) 2022-09-17 09:28:22 +00:00
manifests Impl try multiple default bin dirs (#417) 2022-09-26 01:15:20 +13:00
ops Check source_file_path to ensure it is valid (#421) 2022-09-25 13:32:34 +00:00
bins.rs Check source_file_path to ensure it is valid (#421) 2022-09-25 13:32:34 +00:00
drivers.rs Rename lib to binstalk (#361) 2022-09-10 16:44:18 +10:00
errors.rs Check source_file_path to ensure it is valid (#421) 2022-09-25 13:32:34 +00:00
fetchers.rs Impl try multiple default bin dirs (#417) 2022-09-26 01:15:20 +13:00
fs.rs Rename lib to binstalk (#361) 2022-09-10 16:44:18 +10:00
helpers.rs Rename lib to binstalk (#361) 2022-09-10 16:44:18 +10:00
lib.rs Support new cmdline option --roots (#389) 2022-09-17 20:34:36 +12:00
manifests.rs Rename lib to binstalk (#361) 2022-09-10 16:44:18 +10:00
ops.rs Rename lib to binstalk (#361) 2022-09-10 16:44:18 +10:00