aboutsummaryrefslogtreecommitdiff
path: root/lib/_ak_fs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/_ak_fs')
-rwxr-xr-xlib/_ak_fs10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/_ak_fs b/lib/_ak_fs
index 510bd12..b65f34c 100755
--- a/lib/_ak_fs
+++ b/lib/_ak_fs
@@ -3,13 +3,15 @@
source $AK_LIBDIR/_ak_log
_ak_fs_return_hash_path(){
- hashpath="$(echo -n "$1" |sed 's/./&\//g;s/\/$//g')"
- echo -n "$hashpath"
+ #hashpath="$(echo -n "$1" |sed 's/./&\//g;s/\/$//g')"
+ #hashpath="$(echo -n "$1" | fold -w 4 | tr $'\n' '/')"
+ echo -n "$1"
}
_ak_fs_return_hash_dir(){
- hashdir="$(echo -n "$1" | sed -e 's/./&\//g' | grep '\(./\)\{128\}' | sed -e 's/..$//')"
- echo -n "$hashdir"
+ #hashdir="$(_ak_fs_return_hash_path $1 | sed -e 's/.....$//')"
+ #echo -n "$hashdir"
+ echo -n "$1"
}
_ak_fs_verify_input_is_hash(){