aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/initsymlink.go
diff options
context:
space:
mode:
Diffstat (limited to 'container/initsymlink.go')
-rw-r--r--container/initsymlink.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/container/initsymlink.go b/container/initsymlink.go
index e72e5ef4..09e74ec2 100644
--- a/container/initsymlink.go
+++ b/container/initsymlink.go
@@ -1,15 +1,12 @@
package container
import (
- "encoding/gob"
"fmt"
"path/filepath"
"hakurei.app/check"
)
-func init() { gob.Register(new(SymlinkOp)) }
-
// Link appends an [Op] that creates a symlink in the container filesystem.
func (f *Ops) Link(target *check.Absolute, linkName string, dereference bool) *Ops {
*f = append(*f, &SymlinkOp{target, linkName, dereference})