Documentation
¶
Overview ¶
Copyright 2023 The Chromium Authors Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCoverageRuleBqRowSchema ¶
GenerateCoverageRuleBqRowSchema generates a BigQuery schema for the CoverageRuleBqRow proto.
func ReadGenerated ¶
ReadGenerated finds all files under dir, and parses the contents of each into a CoverageRuleBqRow. Every file in dir is assumed to be a JSON list of CoverageRule jsonprotos (note that there is no proto message representing a list of CoverageRules, i.e. the generated files should not actually be valid jsonproto, but they should be a JSON list of valid jsonproto). If any file in dir isn't a list of CoverageRules, an error is returned.
dir must be in a git repo. This function will determine the host and project of the repo and the repo-relative path of each file.
Types ¶
This section is empty.