checksum
No long description provided.
Installation
dagger install github.com/sagikazarmark/daggerverse/checksum@bebdcce45a321dccbbb69a5a0cae40fd407a3263
Entrypoint
Return Type
Checksum
Example
func (m *myModule) example() *Checksum {
return dag.
Checksum()
}
@function
def example() -> dag.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
Function Checksum.sha256 is not accessible from the checksum module
func (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 module
Function ChecksumSha256.calculate is not accessible from the checksum module
Function ChecksumSha256.calculate is not accessible from the checksum module
Function ChecksumSha256.calculate is not accessible from the checksum module
check() 🔗
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 module
Function ChecksumSha256.check is not accessible from the checksum module
Function ChecksumSha256.check is not accessible from the checksum module
Function ChecksumSha256.check is not accessible from the checksum module