File

constructor(path: String)


constructor(parent: File, subpath: String)

Creates a new file with a parent.

Parameters

parent

The parent file.

subpath

The subpath of the file.

File(dir, "child.txt")