Dagger
Search

archive

No long description provided.

Installation

dagger install github.com/sagikazarmark/daggerverse/archive@d0876cfe5c30f5896294d5c756c55fedc6ec21b8

Entrypoint

Return Type
Archive
Example
dagger -m github.com/sagikazarmark/daggerverse/archive@d0876cfe5c30f5896294d5c756c55fedc6ec21b8 call \
func (m *myModule) example() *Archive  {
	return dag.
			Archive()
}
@function
def example() -> dag.Archive:
	return (
		dag.archive()
	)
@func()
example(): Archive {
	return dag
		.archive()
}

Types

Archive 🔗

create() 🔗

Create an archive from a directory of files.

Return Type
File !
Arguments
NameTypeDefault ValueDescription
nameString !-No description provided
sourceDirectory !-No description provided
formatString -No description provided
platformString -No description provided
Example
dagger -m github.com/sagikazarmark/daggerverse/archive@d0876cfe5c30f5896294d5c756c55fedc6ec21b8 call \
 create --name string --source DIR_PATH
func (m *myModule) example(name string, source *Directory) *File  {
	return dag.
			Archive().
			Create(name, source)
}
@function
def example(name: str, source: dagger.Directory) -> dagger.File:
	return (
		dag.archive()
		.create(name, source)
	)
@func()
example(name: string, source: Directory): File {
	return dag
		.archive()
		.create(name, source)
}