lang: core: local: Add a new vardir function

This gives us a function to return a created vardir folder. It is not
locally namespaced, and a future function will have to namespace one to
each scope.
This commit is contained in:
James Shubin
2024-09-09 18:04:18 -04:00
parent 87a2dfc8f9
commit 118f266211
4 changed files with 226 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ import (
_ "github.com/purpleidea/mgmt/lang/core/fmt"
_ "github.com/purpleidea/mgmt/lang/core/iter"
_ "github.com/purpleidea/mgmt/lang/core/list"
_ "github.com/purpleidea/mgmt/lang/core/local"
_ "github.com/purpleidea/mgmt/lang/core/map"
_ "github.com/purpleidea/mgmt/lang/core/math"
_ "github.com/purpleidea/mgmt/lang/core/net"