ls
Description:
[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "0.4" ) ]
public string[] ls (string directory) throws Error
[ Version ( since = "0.4" ) ]
public string[] ls (string directory) throws Error
list the files in a directory
List the files in directory (relative to the root directory, there is no cwd). The '.' and '..' entries are not returned, but hidden files are shown.
Parameters:
this |
A GuestfsSession object |
Returns:
an array of returned strings, or NULL on error |