chickadee » sourcehut » artifact

artifact string string #!key file filenameprocedure
artifact string string string #!key file filenameprocedure

In the first form, attaches an artifact to a reference in the given repository belonging to the active user.

In the second form, attaches an artifact to a reference in a repository belonging to the given user.

file should either be an input port or a string containing the file contents. A filename can also be given, to specify a name for the file. If not given, the name of the input port will be used.