MCPcopy Create free account
hub / github.com/epcdiy/timemachineplus / loadAllFiles

Method loadAllFiles

src/main/java/serviceRun.java:89–105  ·  view source on GitHub ↗
(File file,List<String> fileList)

Source from the content-addressed store, hash-verified

87 }
88
89 private static void loadAllFiles(File file,List<String> fileList)
90 {
91 File[] fs = file.listFiles();
92 for(File f:fs)
93 {
94 if(f.toString().indexOf("/.")!=-1||f.toString().indexOf("\\.")!=-1)
95 {
96 continue;
97 }
98 if(f.isDirectory()) //若是目录,则递归打印该目录下的文件
99 loadAllFiles(f,fileList);
100 if(f.isFile()) //若是文件
101 {
102 fileList.add(f.toString());
103 }
104 }
105 }
106
107 private Backuptargetroot getAvalidTarget(long needspace)
108 {

Callers 1

XCopyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected