mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
New API: aug_transform
Expose the aug_transform API through the library, so it's possible to add/remove Augeas transformations to handle files in custom places using existing lenses.
This commit is contained in:
@@ -13205,6 +13205,18 @@ only the unallocated blocks will be extracted.
|
||||
This is useful to detect hidden data or to retrieve deleted files
|
||||
which data units have not been overwritten yet." };
|
||||
|
||||
{ defaults with
|
||||
name = "aug_transform"; added = (1, 35, 2);
|
||||
style = RErr, [String "lens"; String "file"], [ OBool "remove"];
|
||||
proc_nr = Some 469;
|
||||
shortdesc = "add/remove an Augeas lens transformation";
|
||||
longdesc = "\
|
||||
Add an Augeas transformation for the specified C<lens> so it can
|
||||
handle C<file>.
|
||||
|
||||
If C<remove> is true (C<false> by default), then the transformation
|
||||
is removed." };
|
||||
|
||||
]
|
||||
|
||||
(* Non-API meta-commands available only in guestfish.
|
||||
|
||||
Reference in New Issue
Block a user