summaryrefslogtreecommitdiffstats
path: root/perl/t/060-readdir.t
Commit message (Collapse)AuthorAgeFilesLines
* Remove guestfs_wait_ready (turn it into a no-op).Richard Jones2009-09-211-3/+1
| | | | | | | | | | | | | | This commit changes guestfs_launch so that it both launches the appliance and waits until it is ready (ie. the daemon communicates back to us). Since we removed the pretence that we could implement a low-level asynchronous API, the need to call launch() followed by wait_ready() has looked a bit silly. Now guestfs_wait_ready() is basically a no-op. It is left in the API for backwards compatibility. Any calls to guestfs_wait_ready() can be removed from client code.
* Add 'readdir' call.Richard W.M. Jones2009-07-021-0/+63
This adds a readdir call (mostly intended for programs). The return value is a list of guestfs_dirent structures. This adds the new types 'struct guestfs_dirent' and 'struct guestfs_dirent_list', along with all the code to return these in the different language bindings. Also includes additional tests for OCaml and Perl bindings to test this.