internal/rosa: expose in-place behaviour in generic helper
Test / Create distribution (push) Successful in 1m5s
Test / Sandbox (push) Successful in 3m14s
Test / Hakurei (push) Successful in 4m23s
Test / ShareFS (push) Successful in 4m22s
Test / Sandbox (race detector) (push) Successful in 5m47s
Test / Hakurei (race detector) (push) Successful in 6m51s
Test / Flake checks (push) Successful in 1m29s

This change also combines the createDir and wantsDir methods, and replaces the non-inplace target of the generic helper with a deterministic path.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-21 16:10:55 +09:00
parent cbf18b302d
commit 6546ddc64b
13 changed files with 27 additions and 42 deletions
+1 -1
View File
@@ -746,7 +746,7 @@ func (s *S) getFrame() azalea.Frame {
) (v any, set bool, err error) {
var attr GenericHelper
if err = args.Apply(map[unique.Handle[azalea.Ident]]any{
k("mktemp"): &attr.EnterTemp,
k("inPlace"): &attr.InPlace,
k("build"): &attr.Build,
k("check"): &attr.Check,
k("install"): &attr.Install,