X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=guestfish-actions.pod;fp=guestfish-actions.pod;h=e635e548cdb420a22678a80bda5b396836db6ff5;hp=e727120f015e65977548ebbb500c17cbb27cfb1e;hb=5186251f8f681f2ebb028423bb49a748861fd11e;hpb=f20854ec61eef1aea313920f0cf193a78c1a9219 diff --git a/guestfish-actions.pod b/guestfish-actions.pod index e727120..e635e54 100644 --- a/guestfish-actions.pod +++ b/guestfish-actions.pod @@ -1235,6 +1235,20 @@ Note that this function cannot correctly handle binary files as end of line). For those you need to use the C function which has a more complex interface. +=head2 readdir + + readdir dir + +This returns the list of directory entries in directory C. + +All entries in the directory are returned, including C<.> and +C<..>. The entries are I sorted, but returned in the same +order as the underlying filesystem. + +This function is primarily intended for use by programs. To +get a simple list of names, use C. To get a printable +directory for human consumption, use C. + =head2 resize2fs resize2fs device