search for: opundef

Displaying 2 results from an estimated 2 matches for "opundef".

Did you mean: isundef
2020 Feb 19
2
Poor write performance with golang binding
...f __FILE__ == $0 main end </code> <code lang="go"> package main import ( "flag" "fmt" "libguestfs.org/guestfs" "log" "os" "path/filepath" "strings" ) type Op int const ( OpUndef Op = iota OpList OpCat OpWrite ) var OpNames = map[Op]string{ OpList: "ls", OpCat: "cat", OpWrite: "write", } const usage = `%s [options] [op] [diskimage] op = [%s] options: ` func main() { var devname string var bs int var o...
2020 Feb 19
0
Re: Poor write performance with golang binding
...package main > > import ( > "flag" > "fmt" > "libguestfs.org/guestfs" > "log" > "os" > "path/filepath" > "strings" > ) > > type Op int > > const ( > OpUndef Op = iota > OpList > OpCat > OpWrite > ) > > var OpNames = map[Op]string{ > OpList: "ls", > OpCat: "cat", > OpWrite: "write", > } > > const usage = `%s [options] [op] [diskimage] > > op = [%s] >...