计算文件夹的大小

添加gradle依赖:org.apache.commons.io
FileUtils.sizeOfDirectory(new File(path));

posted @ 2018-05-09 10:30  samcheng  阅读(198)  评论(0编辑  收藏  举报