MCPcopy Create free account
hub / github.com/badvision/jace / checkFile

Method checkFile

src/main/java/jace/hardware/massStorage/DiskNode.java:75–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73 }
74
75 public boolean checkFile() throws IOException {
76 if (physicalFile == null) {
77 return false;
78 }
79 if (physicalFile.lastModified() != lastCheckTime) {
80 lastCheckTime = physicalFile.lastModified();
81 refresh();
82 return false;
83 }
84 return true;
85 }
86
87 public void allocate() throws IOException {
88 if (!allocated) {

Callers 2

checkFileMethod · 0.95
readBlockMethod · 0.95

Calls 1

refreshMethod · 0.95

Tested by

no test coverage detected