Added mv, fixed rename of esp32, and added touch.

This commit is contained in:
Brad Nelson
2022-09-05 17:29:41 -07:00
parent a6dddb83e1
commit 8cd205a9a5
4 changed files with 14 additions and 2 deletions

View File

@ -37,7 +37,14 @@
again
;
: rm ( "path" --- ) bl parse delete-file throw ;
: mv ( "src" "dst" -- ) bl parse bl parse rename-file throw ;
: rm ( "path" -- ) bl parse delete-file throw ;
: touch ( "path" -- )
bl parse 2dup w/o open-file
if drop w/o create-file throw then
close-file throw
;
internals definitions
( Leave some room for growth of starting system. )

View File

@ -409,7 +409,9 @@ e: check-snapshots
out: remember
out: restore
out: save
out: touch
out: rm
out: mv
out: cp
out: cat
out: dump-file