Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 565 Bytes

File metadata and controls

15 lines (8 loc) · 565 Bytes

FileManager

  • list : list all folders/files given a path to a directory, say empty if empty, or wrong path if the path does not exist.

  • info : list information given a path to a file/folder. Info includes name, absolute path, relative path, size, date/time created, and last modified.

  • mkdir : create directory, check for naming.

  • rename : getting path of file to be renamed and rename the file

  • copy, move : to copy or move folder/file with copyCut and copyCutDir methods

  • delete : to delete file/folder given a path

  • quit : the file manager shell