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

Method GetGroupedBlockFile

block.go:113–119  ·  view source on GitHub ↗

GetGroupedBlockFile 获取并按板块分组解析板块文件

(filename string)

Source from the content-addressed store, hash-verified

111
112// GetGroupedBlockFile 获取并按板块分组解析板块文件
113func (client *Client) GetGroupedBlockFile(filename string) ([]BlockGroup, error) {
114 content, err := client.GetBlockFile(filename)
115 if err != nil {
116 return nil, err
117 }
118 return ParseBlockGroups(content)
119}

Callers 2

runMethodFunction · 0.80
mainFunction · 0.80

Calls 2

GetBlockFileMethod · 0.95
ParseBlockGroupsFunction · 0.85

Tested by

no test coverage detected