Revision history for dirDelete


Revision [407]

Last edited on 2010-09-12 21:17:54 by JohnMcIntosh
Additions:
See iPhone
Deletions:
TBD


Revision [156]

Edited on 2008-10-15 18:13:46 by JohnMcIntosh
Additions:
Obviously need permission to delete, otherwise prim fails
If Directory contains files/directories it is not deleted
Uses rmdir, so the directory must be empty. Also has to invalidate the directory being iterated over by dir_Lookup and close it if needbe.
use RemoveDirectoryW
Deletions:
Uses rmdir, so the directory must be empty. Also has to invalidate the directory being iterated over by dir_Lookup and close it if needbe. Obviously need permission to delete, otherwise prim fails


Revision [139]

Edited on 2008-10-15 02:41:07 by JohnMcIntosh
Additions:
======**sqInt dir_Delete(char *pathString, sqInt pathStringLength)**======
Deletions:
======sqInt dir_Delete(char *pathString, sqInt pathStringLength)**======


Revision [138]

Edited on 2008-10-15 02:40:40 by JohnMcIntosh
Additions:
pathString directory path name to delete in image encoding
We must ensure the directory entry count is zero because the file manager removeItemAtPath: WOULD recursively remove all entries, but we don't want that, we want the smalltalk code to be responsible for removal of any files/directories within the directory.
Deletions:
pathString directory path name to create in image encoding


Revision [137]

Edited on 2008-10-15 02:29:33 by JohnMcIntosh
Additions:
Check path length, and confirm we can convert path from squeak representation to operating system needs.
Uses rmdir, so the directory must be empty. Also has to invalidate the directory being iterated over by dir_Lookup and close it if needbe. Obviously need permission to delete, otherwise prim fails
Deletions:
Uses rmdir, so the directory must be empty. Also has to invalidate the directory being iterated over by dir_Lookup and close it if needbe.


Revision [136]

The oldest known version of this page was created on 2008-10-15 02:27:34 by JohnMcIntosh
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki