summaryrefslogtreecommitdiffstats
path: root/perl/lib/Sys/Guestfs.pm
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-04-09 19:36:07 +0100
committerRichard Jones <rjones@redhat.com>2009-04-09 19:36:07 +0100
commit01c26253a12ed1e6b1199f8c85f049a7fc4aef28 (patch)
tree02a9f655430a8e7cf282b7dd9bf042640654f599 /perl/lib/Sys/Guestfs.pm
parent0677b12f2273ed266da9dd276c129342d6a939a2 (diff)
downloadlibguestfs-01c26253a12ed1e6b1199f8c85f049a7fc4aef28.tar.gz
libguestfs-01c26253a12ed1e6b1199f8c85f049a7fc4aef28.tar.xz
libguestfs-01c26253a12ed1e6b1199f8c85f049a7fc4aef28.zip
Added aug-ls (generated code).
Diffstat (limited to 'perl/lib/Sys/Guestfs.pm')
-rw-r--r--perl/lib/Sys/Guestfs.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl/lib/Sys/Guestfs.pm b/perl/lib/Sys/Guestfs.pm
index 9fefb9a5..9f3dd5e9 100644
--- a/perl/lib/Sys/Guestfs.pm
+++ b/perl/lib/Sys/Guestfs.pm
@@ -212,6 +212,11 @@ Load files into the tree.
See C<aug_load> in the Augeas documentation for the full gory
details.
+=item @matches = $h->aug_ls (path);
+
+This is just a shortcut for listing C<$h-E<gt>aug_match>
+C<path/*> and sorting the files into alphabetical order.
+
=item @matches = $h->aug_match (path);
Returns a list of paths which match the path expression C<path>.