AbstractOperatingSystem.st
changeset 17150 c31831f471e8
parent 17147 b4cec8794fb8
child 17170 280139d863b5
equal deleted inserted replaced
17149:ec4913ade4a0 17150:c31831f471e8
  2479     self subclassResponsibility
  2479     self subclassResponsibility
  2480 !
  2480 !
  2481 
  2481 
  2482 sync
  2482 sync
  2483     "sync the filesystems - redefined in subclasses"
  2483     "sync the filesystems - redefined in subclasses"
       
  2484 !
       
  2485 
       
  2486 syncFileSystem:handle
       
  2487     "sync the filesystem where the file represented by handle resides"
       
  2488 
       
  2489     "default is to do a global sync"
       
  2490     self sync.
  2484 !
  2491 !
  2485 
  2492 
  2486 truncateFile:aPathName to:newSize
  2493 truncateFile:aPathName to:newSize
  2487     "change a files size return true on success, false on failure.
  2494     "change a files size return true on success, false on failure.
  2488      This may not be supported on all architectures.
  2495      This may not be supported on all architectures.
  7635 ! !
  7642 ! !
  7636 
  7643 
  7637 !AbstractOperatingSystem class methodsFor:'documentation'!
  7644 !AbstractOperatingSystem class methodsFor:'documentation'!
  7638 
  7645 
  7639 version
  7646 version
  7640     ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.284 2014-11-27 16:58:31 stefan Exp $'
  7647     ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.285 2014-11-27 17:08:35 stefan Exp $'
  7641 !
  7648 !
  7642 
  7649 
  7643 version_CVS
  7650 version_CVS
  7644     ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.284 2014-11-27 16:58:31 stefan Exp $'
  7651     ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.285 2014-11-27 17:08:35 stefan Exp $'
  7645 ! !
  7652 ! !
  7646 
  7653 
  7647 
  7654 
  7648 AbstractOperatingSystem initialize!
  7655 AbstractOperatingSystem initialize!