- All tests that can pass do pass on windows and unix
- Instanciation code is cleaner and more consistent. File new:
'afilename' is the basic form.
- File/http/ftp urls are now supported
- 'aString' asFile now uses the file extension to determine the
resultant class
- coercion is now consistent using #as: aClass e.g. 'aFile' asFile as:
FileXML.
- files can have a lineEndConvention which is honoured for text files
- stream/reader code is cleaner
- more tests
- '/a/b/c' asFile relativeTo: '/a/b' returns 'c', but previously 'c'
would not be a usable file reference, it is now.
- addTree: now accepts a directory or a list of directories/files
- New class demonstrating specialised readers - FileXML
+ fileMatching:
+ resolveMatchAll
+ resolveMatchOne
'file.*' asFile resolveMatchOne - "find one file that matches"
+ #entries/#filesMatching:/#select all ignore .DS_Store and __MACOSX for
normal use.
+ someDir all delete doesnt ignore .DS_Store and __MACOSX
+ #clean equivalent of "all delete", but it uses OSProcess to run "rm
-rf" or "del \s *.*" if possible.
+ addAll: addTree: bulk copying of files use OSProcess cp/ftp if it is
loaded on windows and unix.
+ addAll: addTree: bulk copying of files is done n at a time (n = 5 ish)
+ addAll: addTree: bulk copying of files respects the new beOverwriting
flag/mode, default is to not overwrite.
+ pretending - If you need to pretend to be on a different file system
within a certain scope you can, we use this for testing.