in vault-connection/src/jetbrains/buildServer/buildTriggers/vcs/vault/impl/VaultConnectionImpl.java [92:104]
private void getObject(@NotNull String path, long objectVersion, boolean isFolder, @NotNull File dest) {
FileUtil.createParentDirs(dest);
final GetOptions getOptions = new GetOptions();
getOptions.Recursive = isFolder;
getOptions.SetFileTime = SetFileTimeType.Modification;
final File destPath = isFolder || isRoot(path) ? dest : dest.getParentFile();
GetOperations.ProcessCommandGetVersionToLocationOutsideWorkingFolder(
ensureRepoPath(path), (int)objectVersion, getOptions, destPath.getAbsolutePath()
);
}