Dagger
Search

checksum

No long description provided.

Installation

dagger install github.com/sagikazarmark/daggerverse/checksum@5dd370b06d13b6f5e4cb40d2e6165b947674bf4a

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
NameTypeDefault ValueDescription
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
NameTypeDefault ValueDescription
checksumsStringKind !-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