checksum
No long description provided.
Installation
dagger install github.com/sagikazarmark/daggerverse/checksum@5dd370b06d13b6f5e4cb40d2e6165b947674bf4aEntrypoint
Return Type
Checksum Example
dagger -m github.com/sagikazarmark/daggerverse/checksum@5dd370b06d13b6f5e4cb40d2e6165b947674bf4a call \
func (m *MyModule) Example() *dagger.Checksum {
return dag.
Checksum()
}@function
def example() -> dagger.Checksum:
return (
dag.checksum()
)@func()
example(): Checksum {
return dag
.checksum()
}Types
Checksum 🔗
Calculate and check the checksum of files.
sha256() 🔗
Calculate the SHA-256 checksum of the given files.
Return Type
Sha256 ! Example
dagger -m github.com/sagikazarmark/daggerverse/checksum@5dd370b06d13b6f5e4cb40d2e6165b947674bf4a call \
sha-2-5-6func (m *MyModule) Example() {
return dag.
Checksum().
Sha256()
}@function
def example() -> :
return (
dag.checksum()
.sha256()
)@func()
example(): {
return dag
.checksum()
.sha256()
}Sha256 🔗
calculate() 🔗
Calculate the SHA-256 checksum of the given files.
Return Type
StringKind !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| files | [ObjectKind ! ] ! | - | No description provided |
Example
Function ChecksumSha256.calculate is not accessible from the checksum moduleFunction ChecksumSha256.calculate is not accessible from the checksum moduleFunction ChecksumSha256.calculate is not accessible from the checksum moduleFunction ChecksumSha256.calculate is not accessible from the checksum modulecheck() 🔗
Check the SHA-256 checksum of the given files.
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| checksums | StringKind ! | - | No description provided |
| files | [ObjectKind ! ] ! | - | No description provided |
Example
Function ChecksumSha256.check is not accessible from the checksum moduleFunction ChecksumSha256.check is not accessible from the checksum moduleFunction ChecksumSha256.check is not accessible from the checksum moduleFunction ChecksumSha256.check is not accessible from the checksum module