Dagger
Search

uncommitted

This module checks for uncommitted git changes

Installation

dagger install github.com/cloudnative-pg/daggerverse/uncommitted@f4088fe25e060f06e1b3175ede603caecf4225fa

Entrypoint

Return Type
Uncommitted !
Arguments
NameTypeDescription
imageString Python image to use. renovate image: datasource=docker depName=python versioning=docker
Example
func (m *myModule) example() *Uncommitted  {
	return dag.
			Uncommitted()
}
@function
def example() -> dag.Uncommitted:
	return (
		dag.uncommitted()
	)
@func()
example(): Uncommitted {
	return dag
		.uncommitted()
}

Types

Uncommitted 🔗

checkUncommitted() 🔗

CheckUncommitted runs check_uncommitted_git_changes

Example usage: dagger call check-uncommitted –source /path/to/your/repo

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-No description provided
Example
func (m *myModule) example(source *Directory) *Container  {
	return dag.
			Uncommitted().
			CheckUncommitted(source)
}
@function
def example(source: dagger.Directory) -> dagger.Container:
	return (
		dag.uncommitted()
		.check_uncommitted(source)
	)
@func()
example(source: Directory): Container {
	return dag
		.uncommitted()
		.checkUncommitted(source)
}