This is a refactor of samhofi.us/x/keybase/v2 that takes advantage of the libkeybase performance improvements.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
// Auto-generated to Go types using avdl-compiler v1.4.6 (https://github.com/keybase/node-avdl-compiler)
|
|
|
|
// Input file: ../../../../../../client/protocol/avdl/keybase1/fs.avdl
|
|
|
|
|
|
|
|
package keybase1
|
|
|
|
|
|
|
|
type File struct {
|
|
|
|
Path string `codec:"path" json:"path"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (o File) DeepCopy() File {
|
|
|
|
return File{
|
|
|
|
Path: o.Path,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
type ListResult struct {
|
|
|
|
Files []File `codec:"files" json:"files"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (o ListResult) DeepCopy() ListResult {
|
|
|
|
return ListResult{
|
|
|
|
Files: (func(x []File) []File {
|
|
|
|
if x == nil {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
ret := make([]File, len(x))
|
|
|
|
for i, v := range x {
|
|
|
|
vCopy := v.DeepCopy()
|
|
|
|
ret[i] = vCopy
|
|
|
|
}
|
|
|
|
return ret
|
|
|
|
})(o.Files),
|
|
|
|
}
|
|
|
|
}
|