aboutsummaryrefslogtreecommitdiffstats
path: root/lib/LXRng/Index.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/LXRng/Index.pm')
-rw-r--r--lib/LXRng/Index.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/LXRng/Index.pm b/lib/LXRng/Index.pm
new file mode 100644
index 0000000..e0d5794
--- /dev/null
+++ b/lib/LXRng/Index.pm
@@ -0,0 +1,11 @@
+package LXRng::Index;
+
+use strict;
+
+sub transaction(&@) {
+ my ($code, $index) = @_;
+
+ $index->transaction($code);
+}
+
+1;