没有合适的资源?快使用搜索试试~ 我知道了~
caterpillar:哈希目录树,以供以后验证
共17个文件
go:11个
makefile:1个
mod:1个
需积分: 9 0 下载量 113 浏览量
2021-03-15
10:11:33
上传
评论
收藏 26KB ZIP 举报
温馨提示
毛虫 Caterpiller保存目录树的哈希值,以便以后根据之前保存的数据验证,并且还可以让您知道自上次运行以来是否添加或删除了任何文件。 例子: boa:~/repos/caterpillar(primaria)$ ./caterpillar hash ./hash/ 514c1ea7456b11c1bc8a89927206602b hash/file.go 4b7d6cd1868de6b8adf5960fa569f718 hash/hash.go 12b2a2e47897141494342b2fe6a37d3f hash/tree.go Writing file: /home/dburke/repos/caterpillar/hash.json boa:~/repos/caterpillar(primaria)$ cat hash.json { "hash/.": {
资源推荐
资源详情
资源评论
收起资源包目录
caterpillar-primaria.zip (17个子文件)
caterpillar-primaria
.goreleaser.yml 1KB
cmd
init.go 782B
root.go 389B
hash.go 2KB
db
db.go 2KB
main.go 95B
.gitignore 31B
Makefile 402B
go.sum 41KB
README.md 1KB
util
string.go 159B
json.go 264B
hash
tree.go 1KB
hash.go 1KB
json.go 647B
file.go 170B
go.mod 1KB
共 17 条
- 1
资源评论
是十五呀
- 粉丝: 23
- 资源: 4635
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功