This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/docs/reference/universe/file.md
Andrea Luzzardi f3f5e7c714 docs: make universe
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-08 18:29:02 -07:00

2.7 KiB

sidebar_label
file

dagger.io/file

DEPRECATED: see dagger.io/os

#Append

#Append Inputs

Name Type Description
filename string -
permissions *0o644 | int -
contents (string|bytes) -
from dagger.#Artifact -

#Append Outputs

Name Type Description
orig string -

#Create

#Create Inputs

Name Type Description
filename string -
permissions *0o644 | int -
contents (string|bytes) -

#Create Outputs

No output.

#Glob

#Glob Inputs

Name Type Description
glob string -
from dagger.#Artifact -

#Glob Outputs

Name Type Description
filenames _|_ trim suffix because ls always ends with newline
files string -

#Read

#Read Inputs

Name Type Description
filename string -
from dagger.#Artifact -

#Read Outputs

Name Type Description
contents string -

#read

#read Inputs

Name Type Description
path string -
from dagger.#Artifact -

#read Outputs

Name Type Description
data string -