ls0


Description:

[ Version ( since = "1.19.32" ) ]
public bool ls0 (string dir, string filenames) throws Error

get list of files in a directory

This specialized command is used to get a listing of the filenames in the directory dir. The list of filenames is written to the local file filenames (on the host).

In the output file, the filenames are separated by "\0" characters.

"." and ".." are not returned. The filenames are not sorted.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error