mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
generator: add a FilenameList parameter type
Mostly like StringList (so it can used in current StringList parameters), but checking client- and daemon-side that the elements are file names.
This commit is contained in:
@@ -254,7 +254,7 @@ let name_of_argt = function
|
||||
| Mountable_or_Path n | String n | OptString n
|
||||
| StringList n | DeviceList n | Bool n | Int n | Int64 n
|
||||
| FileIn n | FileOut n | BufferIn n | Key n | Pointer (_, n)
|
||||
| GUID n -> n
|
||||
| GUID n | FilenameList n -> n
|
||||
|
||||
let name_of_optargt = function
|
||||
| OBool n | OInt n | OInt64 n | OString n | OStringList n -> n
|
||||
|
||||
Reference in New Issue
Block a user