equal
deleted
inserted
replaced
24 |
24 |
25 FileDirectories represent directories in the underlying host system. |
25 FileDirectories represent directories in the underlying host system. |
26 They provide various methods to create/delete and query for files and/or |
26 They provide various methods to create/delete and query for files and/or |
27 directories. |
27 directories. |
28 |
28 |
29 $Header: /cvs/stx/stx/libbasic/FileDirectory.st,v 1.6 1993-12-12 21:30:47 claus Exp $ |
29 $Header: /cvs/stx/stx/libbasic/FileDirectory.st,v 1.7 1993-12-12 21:53:55 claus Exp $ |
30 |
30 |
31 written winter 89 by claus |
31 written winter 89 by claus |
32 '! |
32 '! |
33 |
33 |
34 !FileDirectory class methodsFor:'initialization'! |
34 !FileDirectory class methodsFor:'initialization'! |
282 ^ OperatingSystem removeFile:(pathName , '/' , fileName) |
282 ^ OperatingSystem removeFile:(pathName , '/' , fileName) |
283 ! |
283 ! |
284 |
284 |
285 removeDirectory:dirName |
285 removeDirectory:dirName |
286 "remove the directory 'dirName' from myself; return true if successful. |
286 "remove the directory 'dirName' from myself; return true if successful. |
287 If the directory is not empty, the containign files/directories are also |
287 If the directory is not empty, the containing files/directories are also |
288 removed." |
288 removed." |
289 |
289 |
290 |absPath| |
290 |absPath| |
291 |
291 |
292 (dirName startsWith:'/') ifTrue:[ |
292 (dirName startsWith:'/') ifTrue:[ |