MCPcopy Create free account
hub / github.com/bensema/gotdx / rowsFromFileMeta

Function rowsFromFileMeta

cmd/webviewer/query.go:4883–4893  ·  view source on GitHub ↗
(item *proto.GetFileMetaReply)

Source from the content-addressed store, hash-verified

4881}
4882
4883func rowsFromFileMeta(item *proto.GetFileMetaReply) [][]string {
4884 if item == nil {
4885 return nil
4886 }
4887 return [][]string{
4888 {"size", fmt.Sprintf("%d", item.Size)},
4889 {"unknown1", fmt.Sprintf("%d", item.Unknown1)},
4890 {"hash_value", hex.EncodeToString(item.HashValue[:])},
4891 {"unknown2", fmt.Sprintf("%d", item.Unknown2)},
4892 }
4893}
4894
4895func rowsFromBlockFlat(items []gotdx.BlockFlatItem) [][]string {
4896 rows := make([][]string, 0, len(items))

Callers 2

runMethodFunction · 0.85
TestRowsFromFileMetaFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestRowsFromFileMetaFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…