JanetDocsSourcePlaygroundI'm feeling luckyCommunityGitHub sign in

spork/sh/make-new-file

spork


    function
    /usr/local/lib/janet/spork/sh.janet on line 132, column 1

    (make-new-file file-path &opt mode)

    Create and open a file, creating all the directories leading to the 
    file if they do not exist, and return it. By default, open as a 
    writable file (mode is `:w`).


0 examplesSign in to add an example
Loading...