summaryrefslogtreecommitdiff
path: root/subversion/tests/libsvn_repos/dir-delta-editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'subversion/tests/libsvn_repos/dir-delta-editor.h')
-rw-r--r--subversion/tests/libsvn_repos/dir-delta-editor.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/subversion/tests/libsvn_repos/dir-delta-editor.h b/subversion/tests/libsvn_repos/dir-delta-editor.h
index 5e7e280..5c498f8 100644
--- a/subversion/tests/libsvn_repos/dir-delta-editor.h
+++ b/subversion/tests/libsvn_repos/dir-delta-editor.h
@@ -40,7 +40,18 @@
extern "C" {
#endif /* __cplusplus */
-
+
+/* Get an editor that will edit an FS transaction via the libsvn_fs API.
+ *
+ * Set *EDITOR and *EDIT_BATON to a new editor that edits the subtree at
+ * PATH of the existing, open transaction TXN_ROOT in filesystem FS.
+ *
+ * Note: Related but more complex functions in the regular API include
+ * svn_fs__editor_create_for() and svn_repos_get_commit_editor*().
+ *
+ * Note: The only connection with dir-deltas is that a test for dir-deltas
+ * was the first user of this editor.
+ */
svn_error_t *
dir_delta_get_editor(const svn_delta_editor_t **editor,
void **edit_baton,