MCPcopy Create free account
hub / github.com/GDATASoftwareAG/vaas / forFile

Method forFile

java/src/main/java/de/gdata/vaas/Vaas.java:247–255  ·  view source on GitHub ↗
(Path file)

Source from the content-addressed store, hash-verified

245 }
246
247 @Override
248 public VaasVerdict forFile(Path file) throws InterruptedException, IOException, VaasAuthenticationException, VaasClientException, VaasServerException {
249 try {
250 return forFileAsync(file).get();
251 } catch (ExecutionException | CompletionException e) {
252 throwInnerException(e);
253 return null;
254 }
255 }
256
257 @Override
258 public VaasVerdict forFile(Path file, ForFileOptions options) throws InterruptedException, IOException, VaasAuthenticationException, VaasClientException, VaasServerException {

Calls 3

forFileAsyncMethod · 0.95
throwInnerExceptionMethod · 0.95
getMethod · 0.80