We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 777665d commit a6c3332Copy full SHA for a6c3332
lib/files.gi
@@ -45,13 +45,6 @@ InstallMethod( Directory,
45
[ IsString ],
46
function( str )
47
str := UserHomeExpand(str);
48
- #
49
- # ':' or '\\' probably are untranslated MS-DOS or MacOS path
50
- # separators, but ':' in position 2 may be OK
51
52
- if '\\' in str or (':' in str and str[2] <> ':') then
53
- Error( "<str> must not contain '\\' or ':'" );
54
- fi;
55
if Length( str ) > 0 and Last(str) = '/' then
56
str := Immutable(str);
57
else
0 commit comments