stdlib: added package doc strings

Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
Sam Alba
2021-06-15 10:46:56 +02:00
parent 36b287c9d5
commit 9281967e16
23 changed files with 66 additions and 24 deletions

View File

@@ -1,3 +1,4 @@
// Git operations
package git
import (
@@ -35,7 +36,11 @@ import (
// Get the name of the current checked out branch or tag
#CurrentBranch: {
// Git repository
repository: dagger.#Artifact @dagger(input)
// Git branch name
name: {
string
@dagger(output)
@@ -74,7 +79,11 @@ import (
// List tags of a repository
#Tags: {
// Git repository
repository: dagger.#Artifact @dagger(input)
// Repository tags
tags: {
[...string]
@dagger(output)