[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Directory create: 'something' "bug"

From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Directory create: 'something' "bug"
Date: Wed, 06 Sep 2006 13:24:58 +0200
User-agent: Thunderbird (Macintosh/20060719)

st> Directory class sourceCodeAt: #create:!
'create: dirName
    "Create a directory named dirName."
    ^(VFS.VFSHandler for: (File pathFor: dirName))
        createDir: (File stripPathFrom: dirName)

eventually i tried

st> File pathFor: 'foobar'!
st> File pathFor: './foobar'!
Yep, I'll add File class>>#pathFor:ifNone: and use it.

Thanks to both of you!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]