private ExportSummary export(List<ExplorerNode> gitRepoNodePath,
                                 ExplorerNode node,
                                 Path exportDir) {
        final Set<DocRef> docRefs = new HashSet<>();
        this.recurseExplorerNodes(node, docRefs);
        Set<String> docTypesToIgnore = Set.of(GitRepoDoc.TYPE);

        return importExportSerializer.write(
                gitRepoNodePath,
                exportDir,
                docRefs,
                docTypesToIgnore,
                true);
    }
Exports the given node to the given export directory in the standard
Stroom import/export format (unzipped).

@param node      The root node to export.
@param exportDir The directory to export to.
@return The export summary.
stroom-gitrepo/stroom-gitrepo-impl/src/main/java/stroom/gitrepo/impl/GitRepoStorageService.java