def ns.ups
import bend-osdev-acpi@0.1.1.0/aml_ns.bend as AmlNsimport Base
109def ns.ups(n: Nat, +p: String) -> String:
110 match n:
111 case 0n:
112 p
113 case 1n+k:
114 ns.ups(k, AmlPath.parent(p))
import bend-osdev-acpi@0.1.1.0/aml_ns.bend as AmlNsimport Base
109def ns.ups(n: Nat, +p: String) -> String:
110 match n:
111 case 0n:
112 p
113 case 1n+k:
114 ns.ups(k, AmlPath.parent(p))