checksum
No long description provided.
Installation
dagger install github.com/sagikazarmark/daggerverse/checksum@71d46691258f1b807806068680a596603294fa44Entrypoint
Return Type
Checksum Example
dagger -m github.com/sagikazarmark/daggerverse/checksum@71d46691258f1b807806068680a596603294fa44 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
StringKind !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| files | [ObjectKind ! ] ! | - | No description provided |
Example
dagger -m github.com/sagikazarmark/daggerverse/checksum@71d46691258f1b807806068680a596603294fa44 call \
sha-2-5-6func (m *MyModule) Example(files ) {
return dag.
Checksum().
Sha256(files)
}@function
def example(files: ) -> :
return (
dag.checksum()
.sha256(files)
)@func()
example(files: ): {
return dag
.checksum()
.sha256(files)
}checkSha256() 🔗
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
dagger -m github.com/sagikazarmark/daggerverse/checksum@71d46691258f1b807806068680a596603294fa44 call \
check-sha-2-5-6func (m *MyModule) Example(checksums , files ) {
return dag.
Checksum().
CheckSha256(checksums, files)
}@function
def example(checksums: , files: ) -> :
return (
dag.checksum()
.check_sha256(checksums, files)
)@func()
example(checksums: , files: ): {
return dag
.checksum()
.checkSha256(checksums, files)
}