Dagger
Search

checksum

No long description provided.

Installation

dagger install github.com/jumppad-labs/daggerverse/checksum@cd629f325cd79043bd79467c3929ada1bb2f2965

Entrypoint

Return Type
Checksum
Example
dagger -m github.com/jumppad-labs/daggerverse/checksum@cd629f325cd79043bd79467c3929ada1bb2f2965 call \
func (m *myModule) example() *Checksum  {
	return dag.
			Checksum()
}
@function
def example() -> dag.Checksum:
	return (
		dag.checksum()
	)
@func()
example(): Checksum {
	return dag
		.checksum()
}

Types

Checksum 🔗

calculateChecksum() 🔗

CalculateChecksum will calculate the checksum of a given URL

Return Type
String !
Arguments
NameTypeDefault ValueDescription
urlString !-No description provided
Example
dagger -m github.com/jumppad-labs/daggerverse/checksum@cd629f325cd79043bd79467c3929ada1bb2f2965 call \
 calculate-checksum --url string
func (m *myModule) example(ctx context.Context, url string) string  {
	return dag.
			Checksum().
			CalculateChecksum(ctx, url)
}
@function
async def example(url: str) -> str:
	return await (
		dag.checksum()
		.calculate_checksum(url)
	)
@func()
async example(url: string): Promise<string> {
	return dag
		.checksum()
		.calculateChecksum(url)
}