mirror of
https://github.com/NixOS/nix
synced 2025-06-28 05:21:16 +02:00
Add base32 encoder/decoder
This commit is contained in:
parent
a1ff43045b
commit
cce218f950
9 changed files with 349 additions and 4 deletions
|
@ -12,7 +12,7 @@ pub struct StorePath {
|
|||
pub const STORE_PATH_HASH_CHARS: usize = 32;
|
||||
|
||||
impl StorePath {
|
||||
pub fn new(path: &Path, store_dir: &str) -> Result<Self, Error> {
|
||||
pub fn new(path: &Path, _store_dir: &str) -> Result<Self, Error> {
|
||||
// FIXME: check store_dir
|
||||
Self::new_short(
|
||||
path.file_name()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue