Skip to main content

fs

  • createFile - Creates a new file with the specified name and content.
  • createFolder - Creates a new folder at the specified location.
  • readFile - Reads the contents of a file and returns it as a string.
  • updateFile - Updates an existing file with new content.
  • deleteFile - Deletes a specified file from the filesystem.
  • deleteFolder - Deletes a specified folder and its contents.
  • listFile - Lists all files in the specified directory.
  • listCodeDefinitionNames - Lists all code definition names within a project.
  • searchFiles - Searches for files matching a specific pattern or criteria.
  • writeToFile - Creates or updates a file and writes data to it.