search for: opcat

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

Did you mean: ypcat
2020 Feb 19
2
Poor write performance with golang binding
...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 offset int64 log.SetFlags(l...
2020 Feb 19
0
Re: Poor write performance with golang binding
..."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 ma...