links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Last updated at 11:48 pm UTC on 7 August 2020
FileMan provides an API to file and directory tasks.
FileMan is a thin wrapper for various Smalltalk file libraries. It provides simple, portable interfaces for manipulating files and directories.

Available through SqueakMap or

Installer squeaksource
    project: 'MetacelloRepository';
    install: 'ConfigurationOfFileMan'. 
(Smalltalk at: #ConfigurationOfFileMan) perform: #load.

Loads fine in Squeak 4.6, 5.0 and 5.1 – 16 tests out of 16 are green.

Currently, FileMan can wrap these different Smalltalk file libraries.

Since 2015 FileMan is the default file library in Cuis Smalltalk.
FileMan in Squeak 4.5
Before FileMan Rio was an earlier attempt at doing the same thing.

FileMan core classes

Data wrapper class
 Object subclass: #FmFileEntry
	instanceVariableNames: 'drive pathComponents parent name fileSize creationTime modificationTime isDirectory options'
	classVariableNames: ''
	poolDictionaries: ''
	category: 'FileMan-Core'

 FmFileEntry subclass: #FmDirectoryEntry
	instanceVariableNames: 'children'
	classVariableNames: ''
	poolDictionaries: ''
	category: 'FileMan-Core'


FileMan examples

See also

Rio-FileMan Comparison