aboutsummaryrefslogtreecommitdiff
path: root/lib/_ak_zchain
diff options
context:
space:
mode:
Diffstat (limited to 'lib/_ak_zchain')
-rwxr-xr-xlib/_ak_zchain4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/_ak_zchain b/lib/_ak_zchain
index 3776e49..c809b5d 100755
--- a/lib/_ak_zchain
+++ b/lib/_ak_zchain
@@ -231,6 +231,10 @@ _ak_zchain_crawl_remote_ipns(){
#ak enter -n $1
}
+_ak_zchain_get_latest(){
+ _ak_ipfs_files_stat /zlatest | head -n 1| tr -d '\n'
+}
+
# _ak_zchain_announce(){}
# PROGRAM="$(basename $0)"
# printf '[%s]\n' "$PROGRAM"