1
|
1 |
"
|
5
|
2 |
COPYRIGHT (c) 1989 by Claus Gittinger
|
172
|
3 |
All Rights Reserved
|
1
|
4 |
|
|
5 |
This software is furnished under a license and may be used
|
|
6 |
only in accordance with the terms of that license and with the
|
|
7 |
inclusion of the above copyright notice. This software may not
|
|
8 |
be provided or otherwise made available to, or used by, any
|
|
9 |
other person. No title to or ownership of the software is
|
|
10 |
hereby transferred.
|
|
11 |
"
|
|
12 |
|
|
13 |
Collection subclass:#FileDirectory
|
605
|
14 |
instanceVariableNames:'pathName lazy'
|
|
15 |
classVariableNames:'PathOfCurrentDirectory'
|
|
16 |
poolDictionaries:''
|
|
17 |
category:'Collections-Files'
|
1
|
18 |
!
|
|
19 |
|
88
|
20 |
!FileDirectory class methodsFor:'documentation'!
|
|
21 |
|
|
22 |
copyright
|
|
23 |
"
|
|
24 |
COPYRIGHT (c) 1989 by Claus Gittinger
|
172
|
25 |
All Rights Reserved
|
1
|
26 |
|
88
|
27 |
This software is furnished under a license and may be used
|
|
28 |
only in accordance with the terms of that license and with the
|
|
29 |
inclusion of the above copyright notice. This software may not
|
|
30 |
be provided or otherwise made available to, or used by, any
|
|
31 |
other person. No title to or ownership of the software is
|
|
32 |
hereby transferred.
|
|
33 |
"
|
|
34 |
!
|
1
|
35 |
|
88
|
36 |
documentation
|
|
37 |
"
|
|
38 |
FileDirectories represent directories in the underlying host system.
|
|
39 |
They provide various methods to create/delete and query for files and/or
|
202
|
40 |
directories. Also, since FileDirectory inherits from Collection, it
|
|
41 |
provides all enumeration and testing protocol. For example, you can
|
|
42 |
loop over the filenames in a directory using 'aFileDirectory do:[:nm | ...]'.
|
|
43 |
|
172
|
44 |
Notice:
|
|
45 |
This class is not available in other ST-systems, while for example,
|
|
46 |
ST-80 provides a Filename class.
|
202
|
47 |
Therefore, Filename will take over much of the functionality in the near
|
|
48 |
future.
|
276
|
49 |
|
172
|
50 |
Use instances of Filename if possible.
|
88
|
51 |
"
|
605
|
52 |
!
|
|
53 |
|
|
54 |
version
|
|
55 |
^ '$Header: /cvs/stx/stx/libbasic/FileDirectory.st,v 1.25 1995-11-23 01:16:37 cg Exp $'
|
88
|
56 |
! !
|
1
|
57 |
|
2
|
58 |
!FileDirectory class methodsFor:'initialization'!
|
|
59 |
|
|
60 |
initialize
|
276
|
61 |
"/
|
|
62 |
"/ want to know about image restart
|
|
63 |
"/
|
2
|
64 |
ObjectMemory addDependent:self
|
|
65 |
!
|
|
66 |
|
|
67 |
update:something
|
276
|
68 |
"/
|
|
69 |
"/ currentDirectory may be different when restarted
|
|
70 |
"/
|
2
|
71 |
something == #restarted ifTrue:[
|
172
|
72 |
PathOfCurrentDirectory := nil
|
2
|
73 |
]
|
|
74 |
! !
|
|
75 |
|
1
|
76 |
!FileDirectory class methodsFor:'instance creation'!
|
|
77 |
|
|
78 |
currentDirectory
|
|
79 |
"create and return a new FileDirectory for the current directory"
|
|
80 |
|
276
|
81 |
^ self directoryNamed:'.'
|
88
|
82 |
|
|
83 |
"
|
|
84 |
FileDirectory currentDirectory contents
|
|
85 |
FileDirectory currentDirectory files
|
|
86 |
FileDirectory currentDirectory isReadable
|
|
87 |
FileDirectory currentDirectory pathName
|
|
88 |
"
|
1
|
89 |
!
|
|
90 |
|
605
|
91 |
directoryNamed:name
|
|
92 |
"create and return a new FileDirectory for the directory
|
|
93 |
with given pathname"
|
|
94 |
|
|
95 |
^ (self basicNew) pathName:name
|
|
96 |
|
|
97 |
"
|
|
98 |
(FileDirectory directoryNamed:'..') pathName
|
|
99 |
(FileDirectory directoryNamed:'../..') files
|
|
100 |
"
|
|
101 |
!
|
|
102 |
|
1
|
103 |
directoryNamed:name in:aFileDirectory
|
|
104 |
"create and return a new FileDirectory for the directory with given name
|
|
105 |
in another FileDirectory"
|
|
106 |
|
159
|
107 |
|baseName sep|
|
1
|
108 |
|
159
|
109 |
sep := OperatingSystem fileSeparator.
|
|
110 |
((name at:1) == sep) ifTrue:[
|
172
|
111 |
^ self directoryNamed:name
|
1
|
112 |
].
|
|
113 |
(aFileDirectory isKindOf:FileDirectory) ifTrue:[
|
172
|
114 |
baseName := aFileDirectory pathName
|
1
|
115 |
] ifFalse:[
|
172
|
116 |
baseName := aFileDirectory
|
1
|
117 |
].
|
|
118 |
"
|
|
119 |
(name = '..') ifTrue:[
|
172
|
120 |
^ (self basicNew) pathName:(OperatingSystem directoryNameOf:baseName)
|
1
|
121 |
].
|
|
122 |
"
|
|
123 |
(name = '.') ifTrue:[^ aFileDirectory].
|
|
124 |
|
159
|
125 |
(baseName = sep asString) ifFalse:[
|
172
|
126 |
(baseName endsWith:sep) ifFalse:[
|
|
127 |
baseName := baseName copyWith:sep
|
|
128 |
]
|
1
|
129 |
].
|
276
|
130 |
^ self directoryNamed:(baseName , name)
|
605
|
131 |
!
|
|
132 |
|
|
133 |
rootDirectory
|
|
134 |
"create and return a new FileDirectory for the root directory"
|
|
135 |
|
|
136 |
^ self directoryNamed:(OperatingSystem fileSeparator asString)
|
|
137 |
|
|
138 |
"
|
|
139 |
FileDirectory rootDirectory contents
|
|
140 |
FileDirectory rootDirectory files
|
|
141 |
FileDirectory rootDirectory isReadable
|
|
142 |
"
|
276
|
143 |
! !
|
|
144 |
|
|
145 |
!FileDirectory class methodsFor:'private'!
|
|
146 |
|
|
147 |
fullPathNameOf:name in:path
|
|
148 |
|sep|
|
|
149 |
|
|
150 |
sep := OperatingSystem fileSeparator asString.
|
|
151 |
(name startsWith:sep) ifTrue:[
|
|
152 |
^ name
|
|
153 |
].
|
|
154 |
^ path , sep , name
|
1
|
155 |
! !
|
|
156 |
|
|
157 |
!FileDirectory methodsFor:'accessing'!
|
|
158 |
|
|
159 |
baseName
|
|
160 |
"return my baseName
|
|
161 |
- thats the directory name without leading parent-dirs"
|
|
162 |
|
|
163 |
lazy ifTrue:[self getFullPathName].
|
|
164 |
^ OperatingSystem baseNameOf:pathName
|
|
165 |
!
|
|
166 |
|
|
167 |
contents
|
|
168 |
"return a collection with all files and subdirectories in the receiver"
|
|
169 |
|
|
170 |
|coll|
|
|
171 |
|
|
172 |
coll := OrderedCollection new.
|
|
173 |
self do:[:name |
|
172
|
174 |
coll add:name
|
1
|
175 |
].
|
276
|
176 |
coll sort.
|
1
|
177 |
^ coll
|
|
178 |
!
|
|
179 |
|
|
180 |
directories
|
|
181 |
"return a collection with all subdirectories in the receiver directory"
|
|
182 |
|
|
183 |
|coll|
|
|
184 |
|
|
185 |
coll := OrderedCollection new.
|
|
186 |
self directoriesDo:[:name |
|
172
|
187 |
coll add:name
|
1
|
188 |
].
|
276
|
189 |
coll sort.
|
1
|
190 |
^ coll
|
|
191 |
!
|
|
192 |
|
605
|
193 |
directoryName
|
|
194 |
"return my directoryName
|
|
195 |
- thats the directory name where I'm in"
|
|
196 |
|
|
197 |
lazy ifTrue:[self getFullPathName].
|
|
198 |
^ OperatingSystem directoryNameOf:pathName
|
|
199 |
!
|
|
200 |
|
1
|
201 |
files
|
|
202 |
"return a collection with all plain files in the receiver directory"
|
|
203 |
|
|
204 |
|coll|
|
|
205 |
|
|
206 |
coll := OrderedCollection new.
|
|
207 |
self filesDo:[:name |
|
172
|
208 |
coll add:name
|
1
|
209 |
].
|
276
|
210 |
coll sort.
|
|
211 |
^ coll
|
605
|
212 |
!
|
|
213 |
|
|
214 |
pathName
|
|
215 |
"return my full pathname"
|
|
216 |
|
|
217 |
lazy ifTrue:[self getFullPathName].
|
|
218 |
^ pathName
|
|
219 |
!
|
|
220 |
|
|
221 |
pathName:dirName
|
|
222 |
"set my pathname; return nil if not a valid path; self otherwise"
|
|
223 |
|
|
224 |
pathName := dirName.
|
|
225 |
(dirName startsWith:OperatingSystem fileSeparator) ifFalse:[
|
|
226 |
lazy := true
|
|
227 |
] ifTrue:[
|
|
228 |
(dirName startsWith:'./') ifFalse:[
|
|
229 |
"/ (dirName includes:$.) ifTrue:[
|
|
230 |
lazy := true
|
|
231 |
]
|
|
232 |
].
|
|
233 |
^ self
|
|
234 |
"
|
|
235 |
(OperatingSystem isDirectory:pathName) ifFalse:[^ nil]
|
|
236 |
"
|
|
237 |
! !
|
|
238 |
|
|
239 |
!FileDirectory methodsFor:'basic'!
|
|
240 |
|
|
241 |
createDirectory:newName
|
|
242 |
"create a new filedirectory as a subdirectory of myself;
|
|
243 |
return true if successful"
|
|
244 |
|
|
245 |
|realName|
|
|
246 |
|
|
247 |
(newName notNil and:[newName notEmpty]) ifTrue:[
|
|
248 |
(newName ~= '.' and:[newName ~= '..']) ifTrue:[
|
|
249 |
((newName at:1) == OperatingSystem fileSeparator) ifTrue:[
|
|
250 |
realName := newName copyFrom:2
|
|
251 |
] ifFalse:[
|
|
252 |
realName := newName
|
|
253 |
].
|
|
254 |
^ OperatingSystem createDirectory:(self pathNameOf:realName)
|
|
255 |
]
|
|
256 |
].
|
|
257 |
^ false
|
|
258 |
!
|
|
259 |
|
|
260 |
link:oldFileName to:newFileName
|
|
261 |
"link oldFileName to newFileName in myself, return true if successful"
|
|
262 |
|
|
263 |
|path1 path2|
|
|
264 |
|
|
265 |
path1 := self pathNameOf:oldFileName.
|
|
266 |
path2 := self pathNameOf:newFileName.
|
|
267 |
^ OperatingSystem linkFile:path1 to:path2
|
|
268 |
!
|
|
269 |
|
|
270 |
remove:aFileOrDirectoryName
|
|
271 |
"remove the file or directory from myself; return true if successful"
|
|
272 |
|
|
273 |
|path|
|
|
274 |
|
|
275 |
path := self pathNameOf:aFileOrDirectoryName.
|
|
276 |
(OperatingSystem isDirectory:path) ifTrue:[
|
|
277 |
^ OperatingSystem removeDirectory:path
|
|
278 |
].
|
|
279 |
^ OperatingSystem removeFile:path
|
|
280 |
!
|
|
281 |
|
|
282 |
removeDirectory:dirName
|
|
283 |
"remove the directory 'dirName' from myself; return true if successful.
|
|
284 |
If the directory is not empty, the containing files/directories are also
|
|
285 |
removed."
|
|
286 |
|
|
287 |
|path|
|
|
288 |
|
|
289 |
path := self pathNameOf:dirName.
|
|
290 |
(OperatingSystem removeDirectory:path) ifTrue:[^ true].
|
|
291 |
^ OperatingSystem recursiveRemoveDirectory:path
|
|
292 |
!
|
|
293 |
|
|
294 |
removeFile:fileName
|
|
295 |
"remove the file 'fileName' from myself; return true if successful"
|
|
296 |
|
|
297 |
^ OperatingSystem removeFile:(self pathNameOf:fileName).
|
|
298 |
!
|
|
299 |
|
|
300 |
renameFile:oldFileName newName:newFileName
|
|
301 |
"rename the file; return true if successful"
|
|
302 |
|
|
303 |
|path1 path2|
|
|
304 |
|
|
305 |
path1 := self pathNameOf:oldFileName.
|
|
306 |
path2 := self pathNameOf:newFileName.
|
|
307 |
^ OperatingSystem renameFile:path1 to:path2
|
1
|
308 |
! !
|
|
309 |
|
172
|
310 |
!FileDirectory methodsFor:'converting'!
|
|
311 |
|
|
312 |
asFilename
|
|
313 |
"return myself as a filename"
|
|
314 |
|
|
315 |
^ self pathName asFilename
|
|
316 |
!
|
|
317 |
|
|
318 |
asFilename:someFile
|
|
319 |
"return a filename for a file named someFile in myself"
|
|
320 |
|
276
|
321 |
^ self asFilename construct:someFile
|
172
|
322 |
! !
|
|
323 |
|
605
|
324 |
!FileDirectory methodsFor:'enumerating'!
|
|
325 |
|
|
326 |
allDirectoriesDo:aBlock
|
|
327 |
"evaluate the argument, aBlock for every directory name
|
|
328 |
in the directory and in all subdirectories"
|
|
329 |
|
|
330 |
|aStream command line|
|
|
331 |
|
|
332 |
lazy ifTrue:[self getFullPathName].
|
|
333 |
command := 'cd ' , pathName , '; find . -type d -print'.
|
|
334 |
aStream := PipeStream readingFrom:command.
|
|
335 |
aStream isNil ifTrue:[^ nil].
|
|
336 |
[aStream atEnd] whileFalse:[
|
|
337 |
line := aStream nextLine.
|
|
338 |
line notNil ifTrue:[
|
|
339 |
(line = '.') ifFalse:[
|
|
340 |
"cut off initial ./"
|
|
341 |
line := line copyFrom:3
|
|
342 |
].
|
|
343 |
aBlock value:line
|
|
344 |
]
|
|
345 |
].
|
|
346 |
aStream close
|
|
347 |
!
|
|
348 |
|
|
349 |
allFilesDo:aBlock
|
|
350 |
"evaluate the argument, aBlock for every file name in the directory and in all
|
|
351 |
subdirectories"
|
|
352 |
|
|
353 |
|aStream command line|
|
|
354 |
|
|
355 |
lazy ifTrue:[self getFullPathName].
|
|
356 |
command := 'cd ' , pathName , '; find . -print'.
|
|
357 |
aStream := PipeStream readingFrom:command.
|
|
358 |
aStream isNil ifTrue:[^ nil].
|
|
359 |
[aStream atEnd] whileFalse:[
|
|
360 |
line := aStream nextLine.
|
|
361 |
line notNil ifTrue:[
|
|
362 |
(line = '.') ifFalse:[
|
|
363 |
"cut off initial ./"
|
|
364 |
line := line copyFrom:3
|
|
365 |
].
|
|
366 |
aBlock value:line
|
|
367 |
]
|
|
368 |
].
|
|
369 |
aStream close
|
|
370 |
!
|
|
371 |
|
|
372 |
directoriesDo:aBlock
|
|
373 |
"evaluate the argument, aBlock for every subdirectory name in the directory"
|
|
374 |
|
|
375 |
self where:[:name | (self isDirectory:name) ifTrue:[
|
|
376 |
((name ~= '.') and:[name ~= '..'])
|
|
377 |
] ifFalse:[
|
|
378 |
false
|
|
379 |
]
|
|
380 |
] do:aBlock
|
|
381 |
!
|
|
382 |
|
|
383 |
do:aBlock
|
|
384 |
"evaluate the argument, aBlock for every name in the directory"
|
|
385 |
|
|
386 |
self where:[:name | true] do:aBlock
|
|
387 |
!
|
|
388 |
|
|
389 |
filesDo:aBlock
|
|
390 |
"evaluate the argument, aBlock for every plain file name in the directory"
|
|
391 |
|
|
392 |
self where:[:name | (self isDirectory:name) not] do:aBlock
|
|
393 |
!
|
|
394 |
|
|
395 |
namesDo:aBlock
|
|
396 |
"evaluate the argument, aBlock for every name in the directory.
|
|
397 |
for ST-80 compatibility"
|
|
398 |
|
|
399 |
self do:aBlock
|
|
400 |
!
|
|
401 |
|
|
402 |
where:testBlock do:aBlock
|
|
403 |
"evaluate the argument, aBlock for every object in the directory
|
|
404 |
for which testBlock evaluates to true."
|
|
405 |
|
|
406 |
|aStream name|
|
|
407 |
|
|
408 |
aStream := DirectoryStream directoryNamed:pathName.
|
|
409 |
aStream isNil ifTrue:[^ nil].
|
|
410 |
[aStream atEnd] whileFalse:[
|
|
411 |
name := aStream nextLine.
|
|
412 |
name notNil ifTrue:[
|
|
413 |
(testBlock value:name) ifTrue:[
|
|
414 |
aBlock value:name
|
|
415 |
]
|
|
416 |
]
|
|
417 |
].
|
|
418 |
aStream close
|
|
419 |
! !
|
|
420 |
|
|
421 |
!FileDirectory methodsFor:'more instance creation'!
|
|
422 |
|
|
423 |
directoryNamed:aName
|
|
424 |
^ self class directoryNamed:aName in:self pathName
|
|
425 |
! !
|
|
426 |
|
|
427 |
!FileDirectory methodsFor:'printing & storing'!
|
|
428 |
|
|
429 |
printOn:aStream
|
|
430 |
"append a printed representation of the receiver to aStream."
|
|
431 |
|
|
432 |
lazy ifTrue:[self getFullPathName].
|
|
433 |
aStream nextPutAll:'(a FileDirectory pathName:';
|
|
434 |
nextPutAll:pathName;
|
|
435 |
nextPutAll:')'
|
|
436 |
!
|
|
437 |
|
|
438 |
storeOn:aStream
|
|
439 |
"append a printed representation of the receiver to aStream,
|
|
440 |
which allows reconstructing it via readFrom:"
|
|
441 |
|
|
442 |
lazy ifTrue:[self getFullPathName].
|
|
443 |
aStream nextPutAll:'(FileDirectory directoryNamed:'.
|
|
444 |
aStream nextPutAll:pathName.
|
|
445 |
aStream nextPut:$)
|
|
446 |
! !
|
|
447 |
|
1
|
448 |
!FileDirectory methodsFor:'private'!
|
|
449 |
|
|
450 |
getFullPathName
|
|
451 |
"make my pathname be a full pathname - i.e. starting at root"
|
|
452 |
|
308
|
453 |
|shortPathName|
|
1
|
454 |
|
159
|
455 |
(pathName = OperatingSystem fileSeparator asString) ifTrue:[
|
172
|
456 |
lazy := false.
|
|
457 |
^ self
|
1
|
458 |
].
|
|
459 |
|
|
460 |
"since currentDirectory is used very often, cache its path here"
|
|
461 |
|
|
462 |
(pathName = '.') ifTrue:[
|
172
|
463 |
PathOfCurrentDirectory notNil ifTrue:[
|
|
464 |
pathName := PathOfCurrentDirectory.
|
|
465 |
lazy := false.
|
|
466 |
^ self
|
|
467 |
]
|
1
|
468 |
].
|
|
469 |
|
|
470 |
shortPathName := pathName.
|
|
471 |
|
308
|
472 |
pathName := OperatingSystem pathNameOf:pathName.
|
|
473 |
lazy := false.
|
1
|
474 |
|
308
|
475 |
"
|
|
476 |
if it was the current dir, keep name for next query
|
|
477 |
"
|
1
|
478 |
(shortPathName = '.') ifTrue:[
|
308
|
479 |
PathOfCurrentDirectory := pathName
|
1
|
480 |
]
|
276
|
481 |
!
|
|
482 |
|
|
483 |
pathNameOf:fileName
|
|
484 |
^ self class fullPathNameOf:fileName in:pathName
|
1
|
485 |
! !
|
|
486 |
|
605
|
487 |
!FileDirectory methodsFor:'queries'!
|
1
|
488 |
|
605
|
489 |
accessModeOf:name
|
|
490 |
"return the access-mode bits (rwxrwxrwx) of a file in myself"
|
1
|
491 |
|
605
|
492 |
^ OperatingSystem accessModeOf:(self pathNameOf:name)
|
1
|
493 |
!
|
|
494 |
|
605
|
495 |
changeAccessModeOf:name to:modeBits
|
|
496 |
"set the access-mode bits (rwxrwxrwx) of a file in myself"
|
1
|
497 |
|
605
|
498 |
^ OperatingSystem changeAccessModeOf:(self pathNameOf:name) to:modeBits
|
1
|
499 |
!
|
|
500 |
|
|
501 |
exists
|
|
502 |
"return true if this directory exists"
|
|
503 |
|
|
504 |
^ OperatingSystem isDirectory:pathName
|
159
|
505 |
|
|
506 |
"
|
|
507 |
(FileDirectory directoryNamed:'fooBar') exists
|
|
508 |
(FileDirectory directoryNamed:'/tmp') exists
|
|
509 |
"
|
1
|
510 |
!
|
|
511 |
|
605
|
512 |
exists:name
|
|
513 |
"return true, if the given name exists in myself"
|
|
514 |
|
|
515 |
^ OperatingSystem isValidPath:(self pathNameOf:name)
|
|
516 |
!
|
|
517 |
|
|
518 |
id
|
|
519 |
"return the directories file-id (inode number)"
|
|
520 |
|
|
521 |
^ OperatingSystem idOf:pathName
|
|
522 |
!
|
|
523 |
|
|
524 |
infoOf:name
|
|
525 |
"return an array filled with file info for the file 'aFileName';
|
|
526 |
return nil if such a file does not exist"
|
|
527 |
|
|
528 |
^ OperatingSystem infoOf:(self pathNameOf:name)
|
|
529 |
!
|
|
530 |
|
|
531 |
isDirectory:name
|
|
532 |
"return true, if the given name is that of a directory in myself"
|
|
533 |
|
|
534 |
^ OperatingSystem isDirectory:(self pathNameOf:name)
|
|
535 |
!
|
|
536 |
|
3
|
537 |
isEmpty
|
|
538 |
"return true, if the directory is empty;
|
|
539 |
redefined since '.' and '..' do not count as entries here."
|
|
540 |
|
|
541 |
self do:[:fName |
|
172
|
542 |
((fName ~= '.') and:[fName ~= '..']) ifTrue:[^ false].
|
3
|
543 |
].
|
|
544 |
^ true
|
|
545 |
!
|
|
546 |
|
605
|
547 |
isExecutable:name
|
|
548 |
"return true, if the given file is executable"
|
1
|
549 |
|
605
|
550 |
^ OperatingSystem isExecutable:(self pathNameOf:name)
|
1
|
551 |
!
|
|
552 |
|
|
553 |
isReadable:name
|
|
554 |
"return true, if the given file is readable"
|
|
555 |
|
276
|
556 |
^ OperatingSystem isReadable:(self pathNameOf:name)
|
1
|
557 |
!
|
|
558 |
|
|
559 |
isWritable:name
|
|
560 |
"return true, if the given file is readable"
|
|
561 |
|
276
|
562 |
^ OperatingSystem isWritable:(self pathNameOf:name)
|
1
|
563 |
!
|
|
564 |
|
605
|
565 |
species
|
|
566 |
^ OrderedCollection
|
1
|
567 |
!
|
|
568 |
|
605
|
569 |
timeOfLastChange
|
|
570 |
"return the timeStamp of myself"
|
1
|
571 |
|
605
|
572 |
^ OperatingSystem timeOfLastChange:pathName
|
1
|
573 |
!
|
|
574 |
|
605
|
575 |
timeOfLastChange:name
|
|
576 |
"return the timeStamp of a file in myself"
|
1
|
577 |
|
605
|
578 |
^ OperatingSystem timeOfLastChange:(self pathNameOf:name)
|
1
|
579 |
!
|
|
580 |
|
605
|
581 |
typeOf:name
|
|
582 |
"return the symbolic type of a file in myself"
|
1
|
583 |
|
605
|
584 |
^ OperatingSystem typeOf:(self pathNameOf:name)
|
|
585 |
! !
|
1
|
586 |
|
605
|
587 |
FileDirectory initialize!
|