Dagger
Search

archive

No long description provided.

Installation

dagger install github.com/sagikazarmark/daggerverse/archive@20e8626c9f25d570e6321765d496643736d76ee5

Entrypoint

Return Type
Archive
Example
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
nameStringKind !-No description provided
sourceDirectory !-No description provided
formatStringKind -No description provided
platformStringKind -No description provided
Example
func (m *myModule) example(name , source )   {
	return dag.
			Archive().
			Create(name, source)
}
@function
def example(name: , source: ) -> :
	return (
		dag.archive()
		.create(name, source)
	)
@func()
example(name: , source: ):  {
	return dag
		.archive()
		.create(name, source)
}