MCPcopy Create free account
hub / github.com/CreditTone/hooker / checkFile

Function checkFile

js/rpc.js:38–42  ·  view source on GitHub ↗
(filepath, checkLength)

Source from the content-addressed store, hash-verified

36};
37
38function checkFile(filepath, checkLength) {
39 var FileClz = Java.use("java.io.File");
40 var file = FileClz.$new(filepath);
41 return file.exists() && file.length() == checkLength;
42};
43
44
45function discoverClass(className) {

Callers 1

rpc.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected