zip
No long description provided.
Installation
dagger install github.com/grouville/daggerverse.git/zip@a40688acea4abce293087d5022f112551c0f42f5Entrypoint
Return Type
Zip Example
dagger -m github.com/grouville/daggerverse.git/zip@a40688acea4abce293087d5022f112551c0f42f5 call \
func (m *MyModule) Example() *dagger.Zip {
return dag.
Zip()
}@function
def example() -> dagger.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
| Name | Type | Default Value | Description |
|---|---|---|---|
| file | File ! | - | the file to compress |
Example
dagger -m github.com/grouville/daggerverse.git/zip@a40688acea4abce293087d5022f112551c0f42f5 call \
compress --file file:pathfunc (m *MyModule) Example(file *dagger.File) *dagger.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)
}