Allow the user to get and set current path

This commit is contained in:
2025-04-29 06:28:31 -05:00
parent e853153008
commit e2392bd597
3 changed files with 43 additions and 0 deletions

View File

@@ -74,6 +74,7 @@ namespace Tesses::CrossLang
gc->BarrierBegin();
dict->DeclareFunction(gc,"FromString","Create a Path from string",{"path"},Path_FromString);
dict->DeclareFunction(gc,"Create","Create a Path from parts",{"relative","parts"},Path_Create);
dict->DeclareFunction(gc,"Root","Create Absolute Root Path",{}, Path_Root);
env->DeclareVariable("Path", dict);