Filename.st
changeset 4940 c9c75e550748
parent 4939 be88a6c986a6
child 4979 9d24293ca0dc
equal deleted inserted replaced
4939:be88a6c986a6 4940:c9c75e550748
  1653     self remove
  1653     self remove
  1654 
  1654 
  1655     "
  1655     "
  1656      'foo' asFilename makeDirectory.
  1656      'foo' asFilename makeDirectory.
  1657      'foo/bar' asFilename writeStream close.
  1657      'foo/bar' asFilename writeStream close.
  1658      ('foo' asFilename remove) ifFalse:[
  1658      'foo' asFilename remove
  1659         Transcript showCR:'could not remove foo'
       
  1660      ]
       
  1661     "
  1659     "
  1662     "
  1660     "
  1663      'foo' asFilename makeDirectory.
  1661      'foo' asFilename makeDirectory.
  1664      'foo/bar' asFilename writeStream close.
  1662      'foo/bar' asFilename writeStream close.
  1665      ('foo' asFilename recursiveRemove) ifFalse:[
  1663      'foo' asFilename recursiveRemove
  1666         Transcript showCR:'could not remove foo'
       
  1667      ]
       
  1668     "
  1664     "
  1669 
  1665 
  1670     "Created: / 25.2.1998 / 19:50:40 / cg"
  1666     "Created: / 25.2.1998 / 19:50:40 / cg"
  1671     "Modified: / 25.2.1998 / 19:52:08 / cg"
  1667     "Modified: / 25.2.1998 / 19:52:08 / cg"
  1672 !
  1668 !
  3388 ! !
  3384 ! !
  3389 
  3385 
  3390 !Filename class methodsFor:'documentation'!
  3386 !Filename class methodsFor:'documentation'!
  3391 
  3387 
  3392 version
  3388 version
  3393     ^ '$Header: /cvs/stx/stx/libbasic/Filename.st,v 1.166 1999-10-25 18:02:45 cg Exp $'
  3389     ^ '$Header: /cvs/stx/stx/libbasic/Filename.st,v 1.167 1999-10-25 18:03:31 cg Exp $'
  3394 ! !
  3390 ! !
  3395 Filename initialize!
  3391 Filename initialize!