mstorectl: replaced yaml tag to json

This commit is contained in:
2026-03-09 10:54:41 +02:00
parent 86ae312384
commit dda76dc0f1
11 changed files with 21 additions and 239 deletions
+3 -3
View File
@@ -25,9 +25,9 @@ type FileInfoParams struct {
Filepath string
}
type FileInfoResult struct {
File *descr.File `yaml:"file,omitempty"`
Size int64 `yaml:"size,omitempty"`
Digest string `yaml:"digest,omitempty"`
File *descr.File `json:"file,omitempty"`
Size int64 `json:"size,omitempty"`
Digest string `json:"digest,omitempty"`
}
func (util *FileUtil) FileInfo(cmd *cobra.Command, args []string) {