Contents

Roo

File.path (setter)

Set the path of this File object.

var f = File("/Users/garry/Downloads")
f.path = "/Users/garry/Desktop"
print(f.path) # => "/Users/garry/Desktop"