File tree Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -269,14 +269,14 @@ rename from/string to/string -> none:
269269/**
270270Creates a hard link from $source to a $target file.
271271*/
272- link --hard --source / string --target / string -> none :
272+ link --hard / bool --source / string --target / string -> none :
273273 if not hard : throw "INVALID_ARGUMENT"
274274 link_ source target LINK_TYPE_HARD_
275275
276276/**
277277Creates a soft link from $source to a $target file.
278278*/
279- link --file --source / string --target / string -> none :
279+ link --file / bool --source / string --target / string -> none :
280280 if not file : throw "INVALID_ARGUMENT"
281281 if is-directory target :
282282 throw "Target is a directory"
@@ -285,7 +285,7 @@ link --file --source/string --target/string -> none:
285285/**
286286Creates a soft link from $source to a $target directory.
287287*/
288- link --directory --source / string --target / string -> none :
288+ link --directory / bool --source / string --target / string -> none :
289289 if not directory : throw "INVALID_ARGUMENT"
290290 if is-file target :
291291 throw "Target is a file"
Original file line number Diff line number Diff line change @@ -58,16 +58,6 @@ A map-like object that represents the environment variables of the current
5858*/
5959env / EnvironmentVariableMap ::= EnvironmentVariableMap .private_
6060
61- /**
62- The path separator for the underlying operating system.
63- */
64- path-separator -> string :
65- if system .platform == system .PLATFORM-FREERTOS : throw "UNSUPPORTED"
66- if system .platform == system .PLATFORM-WINDOWS :
67- return ";"
68- else:
69- return ":"
70-
7161get_env_ key / string -> string? :
7262 #primitive .core .get_env
7363
You can’t perform that action at this time.
0 commit comments