| <link rel="stylesheet" href="../style.css" /> |
| |
| [TOC] |
| # fuchsia.buildinfo |
| |
| <div class="fidl-version-div"><span class="fidl-attribute fidl-version">Added: 7</span></div> |
| |
| ## **PROTOCOLS** |
| |
| ## Provider {#Provider} |
| *Defined in [fuchsia.buildinfo/buildinfo.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.buildinfo/buildinfo.fidl;l=32)* |
| <p>Returns build information about a Fuchsia system.</p> |
| |
| ### GetBuildInfo {#Provider.GetBuildInfo} |
| |
| <p>Returns a table of build information.</p> |
| |
| #### Request {#Provider.GetBuildInfo_Request} |
| |
| <EMPTY> |
| |
| |
| #### Response {#Provider.GetBuildInfo_Response} |
| |
| <table> |
| <tr><th>Name</th><th>Type</th></tr> |
| <tr> |
| <td><code>build_info</code></td> |
| <td> |
| <code><a class='link' href='#BuildInfo'>BuildInfo</a></code> |
| </td> |
| </tr> |
| </table> |
| |
| |
| |
| |
| ## **TABLES** |
| |
| ### BuildInfo {#BuildInfo data-text="BuildInfo"} |
| |
| |
| *Defined in [fuchsia.buildinfo/buildinfo.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.buildinfo/buildinfo.fidl;l=9)* |
| |
| <table> |
| <tr><th>Ordinal</th><th>Field</th><th>Type</th><th>Description</th></tr> |
| <tr id="BuildInfo.product_config"> |
| <td><h3 id="BuildInfo.product_config" class="add-link hide-from-toc">1</h3></td> |
| <td><code>product_config</code></td> |
| <td> |
| <code>string[100]</code> |
| </td> |
| <td><p>A description of the product configuration used at build time, determined |
| by the value passed as PRODUCT in 'fx set'. See 'fx list-products' for a |
| list of possible values.</p> |
| </td> |
| </tr> |
| <tr id="BuildInfo.board_config"> |
| <td><h3 id="BuildInfo.board_config" class="add-link hide-from-toc">2</h3></td> |
| <td><code>board_config</code></td> |
| <td> |
| <code>string[100]</code> |
| </td> |
| <td><p>A description of the board configuration used at build time, determined by |
| the value passed as BOARD in 'fx set'. See <code>fx list-boards</code> for a list of |
| possible values.</p> |
| </td> |
| </tr> |
| <tr id="BuildInfo.version"> |
| <td><h3 id="BuildInfo.version" class="add-link hide-from-toc">3</h3></td> |
| <td><code>version</code></td> |
| <td> |
| <code>string[100]</code> |
| </td> |
| <td><p>A description of the version of the build. Defaults to the same string as |
| latest_commit_date.</p> |
| </td> |
| </tr> |
| <tr id="BuildInfo.latest_commit_date"> |
| <td><h3 id="BuildInfo.latest_commit_date" class="add-link hide-from-toc">4</h3></td> |
| <td><code>latest_commit_date</code></td> |
| <td> |
| <code>string[100]</code> |
| </td> |
| <td><p>The timestamp of the most recent commit to the integration repository |
| (specifically, the "CommitDate" field) formatted in strict ISO 8601 format in |
| the UTC timezone. Example: "2019-03-28T15:42:20+00:00"</p> |
| </td> |
| </tr> |
| </table> |
| |
| |
| |
| |
| ## **CONSTANTS** |
| |
| <table> |
| <tr><th>Name</th><th>Value</th><th>Type</th><th>Description</th></tr> |
| <tr id="MAX_STRING_LENGTH"> |
| <td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.buildinfo/buildinfo.fidl;l=7">MAX_STRING_LENGTH</a></td> |
| <td> |
| <code>100</code> |
| </td> |
| <td><code>uint64</code></td> |
| <td></td> |
| </tr> |
| </table> |