A reference to a UCloud file
data class File( val path: String, val readOnly: Boolean?, val type: String /* "file" */, )
Mountable as a resource: ✅ Yes
Expands to: The absolute path to the file or directory in the software’s environment
Side effects: Includes the file or directory in the
Job’s temporary work directory
The path of the file must be absolute and refers to either a UCloud directory or file.
The absolute path to the file or directory in UCloud
Indicates if this file or directory should be mounted as read-only
A provider must reject the request if it does not support read-only mounts when
readOnly = true.