--- a/Filename.st Thu Apr 11 16:01:45 2019 +0200
+++ b/Filename.st Thu Apr 11 18:31:06 2019 +0200
@@ -2128,12 +2128,18 @@
asAbsoluteFilename
"return the receiver converted to a filename with
- an absolute pathname."
+ an absolute pathname.
+
+ If the receiver does not exist, no absolute filename is generated.
+
+ This makes sense, if you want to send #asString or #printString
+ or #hash or #= to it."
^ self species named:self pathName
"
'.' asFilename
+ '.' asFilename pathName
'.' asFilename asAbsoluteFilename
'c:' asFilename asAbsoluteFilename
'foo' asFilename
@@ -2142,6 +2148,7 @@
"Modified: / 31-01-2019 / 23:00:41 / Claus Gittinger"
"Modified: / 19-02-2019 / 12:29:37 / Stefan Vogel"
+ "Modified (comment): / 11-04-2019 / 18:24:23 / Stefan Vogel"
!
asAutoDeletedFilename
@@ -6657,7 +6664,13 @@
^ self osNameForFile
- "Modified: / 12.8.1998 / 14:44:32 / cg"
+ "
+ '.' asFilename osNameForDirectory
+ '.' asFilename pathName
+ "
+
+ "Modified: / 12-08-1998 / 14:44:32 / cg"
+ "Modified (comment): / 11-04-2019 / 18:13:09 / Stefan Vogel"
!
osNameForDirectoryContents