Dagger
Search

zip

No long description provided.

Installation

dagger install github.com/grouville/daggerverse.git/zip@a40688acea4abce293087d5022f112551c0f42f5

Entrypoint

Return Type
Zip
Example
func (m *myModule) example() *Zip  {
	return dag.
			Zip()
}
@function
def example() -> dag.Zip:
	return (
		dag.zip()
	)
@func()
example(): Zip {
	return dag
		.zip()
}

Types

Zip 🔗

compress() 🔗

zips the given directory and returns the path to the zip file usage: dagger call compress –file export –path

Return Type
File !
Arguments
NameTypeDefault ValueDescription
fileFile !-the file to compress
Example
dagger -m github.com/grouville/daggerverse.git/zip@a40688acea4abce293087d5022f112551c0f42f5 call \
 compress --file file:path
func (m *myModule) example(file *File) *File  {
	return dag.
			Zip().
			Compress(file)
}
@function
def example(file: dagger.File) -> dagger.File:
	return (
		dag.zip()
		.compress(file)
	)
@func()
example(file: File): File {
	return dag
		.zip()
		.compress(file)
}