method IFileSystem.rm IFileSystem.rm(path: string,options?: { readonly recursive?: boolean; }): Promise<void> Removes a file or directory. Parameters path: string Path to remove optional options: { readonly recursive?: boolean; } Set recursive to remove directories with contents Return Type Promise<void>