sjqzhang / go-fastdfs

go-fastdfs 是一个简单的分布式文件系统(私有云存储),具有无中心、高性能,高可靠,免维护等优点,支持断点续传,分块上传,小文件合并,自动同步,自动修复。Go-fastdfs is a simple distributed file system (private cloud storage), with no center, high performance, high reliability, maintenance free and other advantages, support breakpoint continuation, block upload, small file merge, automatic synchronization, automatic repair.(similar fastdfs).
https://gitee.com/sjqzhang/go-fastdfs
The Unlicense
3.94k stars 747 forks source link

bugfix diskInfo status path #298 #300

Closed andglf closed 3 years ago

andglf commented 3 years ago

此处appDir代表程序运行路径,STORE_DIR代表数据文件存储路径,原代码中磁盘检查路径为程序运行路径,但一般磁盘空间统计的需求是计算数据文件存储路径,所以建议将appDir改为STORE_DIR,并且将以上不再被使用的import和变量定义以及程序运行路径获取逻辑代码去掉,以上代码已经完成了业务测试