aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/state/register.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/state/register.go')
-rw-r--r--internal/state/register.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/internal/state/register.go b/internal/state/register.go
new file mode 100644
index 00000000..2fff565e
--- /dev/null
+++ b/internal/state/register.go
@@ -0,0 +1,12 @@
+package state
+
+func RegisterRevertPath(p string) {
+ cleanupCandidate = append(cleanupCandidate, p)
+}
+
+func XcbActionComplete() {
+ if xcbActionComplete {
+ Fatal("xcb inserted twice")
+ }
+ xcbActionComplete = true
+}