Movatterモバイル変換


[0]ホーム

URL:


utils

package
v1.3.1Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License:GPL-3.0Imports:8Imported by:0

Details

Repository

github.com/arduino/arduino-cli

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcExpandBuildProperties

func ExpandBuildProperties(props []string) ([]string,error)

ExpandBuildProperties expands the build properties placeholders in the slice of properties.

funcMatch

func Match(strstring, substrings []string)bool

Match returns true if all substrings are contained in str.Both str and substrings are transforms to lower case and have theiraccents and other unicode diatrics removed.If strings transformation fails an error is returned.

funcMatchAny

func MatchAny(querystring, arrayToMatch []string)bool

MatchAny checks if query matches at least one of thestring in arrayToMatch using the utils.Match function.

funcSanitizeName

func SanitizeName(origNamestring)string

SanitizeName replaces with underscores all chars that are not includedin the ranges: 0-9, A-Z, a-z, "-" and "."

funcSearchTermsFromQueryString

func SearchTermsFromQueryString(querystring) []string

SearchTermsFromQueryString returns the terms inside the query string.All non alphanumeric characters (expect ':') are considered separators.All search terms are converted to lowercase.

funcURLParse

func URLParse(rawURLstring) (*url.URL,error)

URLParse parses a raw URL string and handles local files URLs depending on the platform

Types

This section is empty.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp