class IO::Path::Win32 is IO::Path { }

This sub-class of IO::Path, pre-loaded with IO::Spec::Win32 in the $.SPEC attribute.


method new§

Same as, except :$SPEC cannot be set and defaults to IO::Spec::Win32, regardless of the operating system the code is being run on.

method raku§

method raku(IO::Path::Win32:D: --> Str:D)

Returns a string that, when given passed through EVAL gives the original invocant back."foo/bar").raku.say;
# OUTPUT:"foo/bar", :CWD("C:\\Users\\camelia")) 

Note that this string includes the value of the .CWD attribute that is set to $*CWD when the path object was created, by default.