checksum
No long description provided.
Installation
dagger install github.com/sagikazarmark/daggerverse/checksum@bebdcce45a321dccbbb69a5a0cae40fd407a3263Entrypoint
Return Type
Checksum Example
dagger -m github.com/sagikazarmark/daggerverse/checksum@bebdcce45a321dccbbb69a5a0cae40fd407a3263 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@bebdcce45a321dccbbb69a5a0cae40fd407a3263 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