diff options
| author | Stefan Majewsky <stefan.majewsky@sap.com> | 2023-04-17 15:05:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-17 15:05:10 +0200 |
| commit | 7c93bb18bf4e8fc8a56c1524fabea462ee8cf8f0 (patch) | |
| tree | ea285343822712bf002ad6dee0b11a094b442e2d /internal/rtree/init.go | |
| parent | be0e424eecec3fec19ba3518f8fd1bb07b6908dc (diff) | |
| parent | d0059fcb87312d296a31d6965d6db84e499fe020 (diff) | |
| download | gofu-7c93bb18bf4e8fc8a56c1524fabea462ee8cf8f0.tar.gz | |
Merge pull request #9 from SuperSandro2000/dont-compact
Don't compact URLs
Diffstat (limited to 'internal/rtree/init.go')
| -rw-r--r-- | internal/rtree/init.go | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/internal/rtree/init.go b/internal/rtree/init.go index 569f042..7121af9 100644 --- a/internal/rtree/init.go +++ b/internal/rtree/init.go @@ -27,29 +27,29 @@ import ( "github.com/majewsky/gofu/internal/cli" ) -//RemoteAlias describes an alias that can be used in a Git remote URL (as -//defined by the "url.<base>.insteadOf" directive in man:git-config(1)). +// RemoteAlias describes an alias that can be used in a Git remote URL (as +// defined by the "url.<base>.insteadOf" directive in man:git-config(1)). type RemoteAlias struct { Alias string Replacement string } -//IndexPath is where the index file is stored. +// IndexPath is where the index file is stored. var IndexPath string -//RootPath is the directory below which all repositories are located. Its value -//is $GOPATH/src to match the repository layout created by `go get`. +// RootPath is the directory below which all repositories are located. Its value +// is $GOPATH/src to match the repository layout created by `go get`. var RootPath string -//RemoteAliases is the list of remote aliases that is used by ExpandRemoteURL(). +// RemoteAliases is the list of remote aliases that is used by ExpandRemoteURL(). var RemoteAliases []*RemoteAlias -//Init initializes the global variables of this package to their standard -//values, unless they are already populated. Unit tests shall set IndexPath, -//RootPath etc. before calling Exec(), such that this function becomes a no-op -//when called by Exec(). +// Init initializes the global variables of this package to their standard +// values, unless they are already populated. Unit tests shall set IndexPath, +// RootPath etc. before calling Exec(), such that this function becomes a no-op +// when called by Exec(). // -//Returns false if initialization failed. +// Returns false if initialization failed. func Init() bool { ok := true //until shown otherwise |
