diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-13 01:06:45 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-13 01:06:45 +0900 |
| commit | bff2a1e748f04c4e7af9b28a03f608f87fcf1a33 (patch) | |
| tree | 6feaf25a9d326f69bf4369b8a04161a08d9d9c90 /container/initplace.go | |
| parent | 8a91234cb4d8cbf6e1d5b909bc11f630d78a93e5 (diff) | |
container/initplace: remove indirect method
This is no longer useful and is highly error-prone.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/initplace.go')
| -rw-r--r-- | container/initplace.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/container/initplace.go b/container/initplace.go index d08cf653..fe4b60a6 100644 --- a/container/initplace.go +++ b/container/initplace.go @@ -22,15 +22,6 @@ func (f *Ops) Place(name *check.Absolute, data []byte) *Ops { return f } -// PlaceP is like Place but writes the address of [TmpfileOp.Data] to the pointer dataP points to. -func (f *Ops) PlaceP(name *check.Absolute, dataP **[]byte) *Ops { - t := &TmpfileOp{Path: name} - *dataP = &t.Data - - *f = append(*f, t) - return f -} - // TmpfileOp places a file on container Path containing Data. type TmpfileOp struct { Path *check.Absolute |
