checksum
No long description provided.
Installation
dagger install github.com/jumppad-labs/daggerverse/checksum@c343680a3efe55e2e4190ba41d6ce3fd86f87a5a
Entrypoint
Return Type
Checksum
Example
dagger -m github.com/jumppad-labs/daggerverse/checksum@c343680a3efe55e2e4190ba41d6ce3fd86f87a5a 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
Name | Type | Default Value | Description |
---|---|---|---|
url | String ! | - | No description provided |
Example
dagger -m github.com/jumppad-labs/daggerverse/checksum@c343680a3efe55e2e4190ba41d6ce3fd86f87a5a 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)
}