zip
No long description provided.
Installation
dagger install github.com/grouville/daggerverse/zip@cfde97bd4d5312974ea36bd0dbb4eabdf9f1243e
Entrypoint
Return Type
Zip
Example
dagger -m github.com/grouville/daggerverse/zip@cfde97bd4d5312974ea36bd0dbb4eabdf9f1243e call \
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
Name | Type | Default Value | Description |
---|---|---|---|
file | File ! | - | No description provided |
Example
dagger -m github.com/grouville/daggerverse/zip@cfde97bd4d5312974ea36bd0dbb4eabdf9f1243e 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)
}