parser

package
v0.0.0-...-6700e38 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2025 License: BSD-3-Clause Imports: 2 Imported by: 0

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.

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 ExtractFwBuildVersionFrom

func ExtractFwBuildVersionFrom(s string) (string, error)

ExtractFwBuildVersionFrom extract the firmware build version information from the given string.

string s the string we want to get the information from.

func ExtractFwImageBuildVersionFrom

func ExtractFwImageBuildVersionFrom(s string) (string, error)

ExtractFwImageBuildVersionFrom extract the firmware image build version information from the given string.

string s the string we want to get the information from.

func ExtractMilestoneFrom

func ExtractMilestoneFrom(s string) (string, error)

ExtractMilestoneFrom extract the milestone information from the given string.

string s the string we want to get the information from.

func ParseDeployURL

func ParseDeployURL(s string) (string, error)

RarseDeployURL parse the deploy URL from data.

Types

type BoardAndModelPair

type BoardAndModelPair struct {
	Board string
	Model string
}

func ExtractBoardAndModelFrom

func ExtractBoardAndModelFrom(s string) (*BoardAndModelPair, error)

ExtractBoardAndModelFrom extract board and model information from the given string.

string s the string we want to get the information from.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL