- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ifs (0.01 sec)
-
buildscripts/checkdeps.sh
## ## check_minimum_version() { ## versions=($(echo -e "$1\n$2" | sort -V)) ## return [ "$1" == "${versions[0]}" ] ## } ## check_minimum_version() { IFS='.' read -r -a varray1 <<<"$1" IFS='.' read -r -a varray2 <<<"$2" for i in "${!varray1[@]}"; do if [[ ${varray1[i]} -lt ${varray2[i]} ]]; then return 0 elif [[ ${varray1[i]} -gt ${varray2[i]} ]]; then return 1 fi
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Jun 08 16:12:05 UTC 2025 - 3.4K bytes - Viewed (0) -
buildscripts/cross-compile.sh
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Jun 08 16:12:05 UTC 2025 - 972 bytes - Viewed (0) -
docker-buildx.sh
exit 1 fi git remote update upstream && git checkout master && git rebase upstream/master release=$(git describe --abbrev=0 --tags) export release } function _build() { local osarch=$1 IFS=/ read -r -a arr <<<"$osarch" os="${arr[0]}" arch="${arr[1]}" package=$(go list -f '{{.ImportPath}}') printf -- "--> %15s:%s\n" "${osarch}" "${package}" # go build -trimpath to build the binary. export GOOS=$os
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Oct 19 08:22:05 UTC 2025 - 1.9K bytes - Viewed (0) -
cmd/net.go
} return xh.Name, xh.Port.String() } // mustGetLocalIPs returns IPs of local interface func mustGetLocalIPs() (ipList []net.IP) { ifs, err := net.Interfaces() logger.FatalIf(err, "Unable to get IP addresses of this host") for _, interf := range ifs { addrs, err := interf.Addrs() if err != nil { continue } if runtime.GOOS == "windows" && interf.Flags&net.FlagUp == 0 { continue }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 9.6K bytes - Viewed (1)