Documentation ¶
Overview ¶
Package backends contains the language-specific UPM backends, and logic for selecting amongst them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBackend ¶
func GetBackend(ctx context.Context, language string) api.LanguageBackend
GetBackend returns the language backend for a given --lang argument value. If none is applicable, it exits the process.
Types ¶
type BackendInfo ¶
func GetBackendNames ¶
func GetBackendNames() []BackendInfo
GetBackendNames returns a slice of the canonical names (e.g. python-python3-poetry, not just python3) for all the backends listed in languageBackends.
Directories ¶
Path | Synopsis |
---|---|
Package dart provides backends for Dart (https://dart.dev) using the Dart package manager Pub.dev (https://pub.dev)
|
Package dart provides backends for Dart (https://dart.dev) using the Dart package manager Pub.dev (https://pub.dev) |
Package dotnet provides a backend for c# using dotnet and nuget.org
|
Package dotnet provides a backend for c# using dotnet and nuget.org |
Package elisp provides a backend for Emacs Lisp using Cask.
|
Package elisp provides a backend for Emacs Lisp using Cask. |
Package java provides a backend for Java using maven.
|
Package java provides a backend for Java using maven. |
Package nodejs provides backends for Node.js using Yarn, PNPM and NPM.
|
Package nodejs provides backends for Node.js using Yarn, PNPM and NPM. |
Package python provides backends for Python 2 and 3 using Poetry and pip.
|
Package python provides backends for Python 2 and 3 using Poetry and pip. |
Package ruby provides a backend for Ruby using Bundler.
|
Package ruby provides a backend for Ruby using Bundler. |
Package rust provides a backend for Rust using Cargo.
|
Package rust provides a backend for Rust using Cargo. |
Click to show internal directories.
Click to hide internal directories.