Dagger
Search

git-affected

A generated module for GitAffected functions

Installation

dagger install github.com/valorl/daggerverse/git-affected@e6c9cc59f90b8dbab08cf65db94351bff2b58ecb

Entrypoint

Return Type
GitAffected
Example
dagger -m github.com/valorl/daggerverse/git-affected@e6c9cc59f90b8dbab08cf65db94351bff2b58ecb call \
func (m *myModule) example() *GitAffected  {
	return dag.
			GitAffected()
}
@function
def example() -> dag.GitAffected:
	return (
		dag.git_affected()
	)
@func()
example(): GitAffected {
	return dag
		.gitAffected()
}

Types

GitAffected 🔗

listAffected() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-No description provided
headRefString "HEAD"No description provided
baseRefString "main"No description provided
Example
dagger -m github.com/valorl/daggerverse/git-affected@e6c9cc59f90b8dbab08cf65db94351bff2b58ecb call \
 list-affected --source DIR_PATH
func (m *myModule) example(ctx context.Context, source *Directory) string  {
	return dag.
			GitAffected().
			ListAffected(ctx, source)
}
@function
async def example(source: dagger.Directory) -> str:
	return await (
		dag.git_affected()
		.list_affected(source)
	)
@func()
async example(source: Directory): Promise<string> {
	return dag
		.gitAffected()
		.listAffected(source)
}