JanetDocsI'm feeling luckyGithub sign in

os/rename



    cfunction

    (os/rename oldname newname)
    
    Rename a file on disk to a new path. Returns nil.


1 exampleSign in to add an example
Loading...
(os/dir ".")              # => @["foo" "bar"]
(os/rename "bar" "bar2")  # => nil
(os/dir ".")              # => @["bar2" "foo"]
cellularmitosis