MCPcopy Create free account
hub / github.com/Maschell/JNUSTool / localValidEncryptedFileFound

Method localValidEncryptedFileFound

src/de/mas/jnustool/FEntry.java:196–206  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

194 }
195
196 public boolean localValidEncryptedFileFound() throws IOException{
197 boolean result = false;
198 File f = new File(getContentPath());
199 if(f.exists()){
200 result = true;
201 if(f.length() == fst.getTmd().contents[this.getContentID()].size){
202 result = true;
203 }
204 }
205 return result;
206 }
207
208
209 public void downloadAndDecrypt(Progress progress) {

Callers 2

downloadAndDecryptMethod · 0.95
getAsByteArrayMethod · 0.95

Calls 3

getContentPathMethod · 0.95
getContentIDMethod · 0.95
getTmdMethod · 0.45

Tested by

no test coverage detected