Update.
This commit is contained in:
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
// retoor <retoor@molodetz.nl>
|
||||
|
||||
import "pathlib" for Path
|
||||
|
||||
var cwd = Path.cwd
|
||||
System.print(cwd.isAbsolute) // expect: true
|
||||
System.print(cwd.exists()) // expect: true
|
||||
System.print(cwd.isDir()) // expect: true
|
||||
|
||||
var home = Path.home
|
||||
System.print(home.isAbsolute) // expect: true
|
||||
System.print(home.exists()) // expect: true
|
||||
Reference in New Issue
Block a user