Noogλe

search input

Function of the day

  • Takes 1 arguments

    path

    Return the contents of the directory path as a set mapping directory entries to the corresponding file type. For instance, if directory A contains a regular file B and another directory C, then builtins.readDir ./A returns the set

    { B = "regular"; C = "directory"; }
    

    The possible values for the file type are "regular", "directory", "symlink" and "unknown".