Debian Codegraph @

config/version.go

raw symbols SCIP
1 package configscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/config`/
2
3 import (
4 "fmtscip-go gomod github.com/golang/go/src go1.25.0 fmt/"
5 "runtimescip-go gomod github.com/golang/go/src go1.25.0 runtime/"
6 "stringsscip-go gomod github.com/golang/go/src go1.25.0 strings/"
7 )
8
9 var (
10 GitCommitscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/config`/GitCommit. string
11 VersionDescscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/config`/VersionDesc. string
12 Vendorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/config`/Vendor. string
13 )
14
15 const (
16 Versionscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/config`/Version. = "3.8.0"
17 )
18
19 func initscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/config`/init().() {
20 gitCommit := ""
21 if len(GitCommitscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/config`/GitCommit.) > 0 {
22 gitCommit = "; git " + GitCommitscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/config`/GitCommit.
23 }
24 if len(Vendorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/config`/Vendor.) == 0 {
25 Vendorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/config`/Vendor. = "GitHub"
26 }
27 VersionDescscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/config`/VersionDesc. = fmtscip-go gomod github.com/golang/go/src go1.25.0 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.25.0 fmt/Sprintf().("git-lfs/%s (%s; %s %s; go %s%s)",
28 Versionscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/config`/Version.,
29 Vendorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/config`/Vendor.,
30 runtimescip-go gomod github.com/golang/go/src go1.25.0 runtime/.GOOSscip-go gomod github.com/golang/go/src go1.25.0 runtime/GOOS.,
31 runtimescip-go gomod github.com/golang/go/src go1.25.0 runtime/.GOARCHscip-go gomod github.com/golang/go/src go1.25.0 runtime/GOARCH.,
32 stringsscip-go gomod github.com/golang/go/src go1.25.0 strings/.Replacescip-go gomod github.com/golang/go/src go1.25.0 strings/Replace().(runtimescip-go gomod github.com/golang/go/src go1.25.0 runtime/.Versionscip-go gomod github.com/golang/go/src go1.25.0 runtime/Version().(), "go", "", 1),
33 gitCommit,
34 )
35 }