Implement Platform.homePath (#48)
* fix naming and path max Co-authored-by: ruby0x1 <ruby0x1@pm.me>
This commit is contained in:
co-authored by
ruby0x1
parent
8227330eb6
commit
8190115b97
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
import "io" for File, Directory
|
||||
import "os" for Platform
|
||||
|
||||
System.print(Platform.homePath is String) // expect: true
|
||||
System.print(!Platform.homePath.isEmpty) // expect: true
|
||||
System.print(File.realPath(Platform.homePath) == Platform.homePath) // expect: true
|
||||
System.print(Directory.exists(Platform.homePath)) // expect: true
|
||||
Reference in New Issue
Block a user