Deleting a Magma Repository

Chad Nantais chad at whistler.com
Sun Mar 9 03:17:19 UTC 2003


> It's possible that I'm missing something, but is there any reason not to
> simply delete the files directly? eg,
>
> |dir|
> dir := FileDirectory on: 'c:\myMagmaFolder'.
> dir deleteFileNamed: 'myRepository.magma'.
> dir deleteFileNamed: 'myRepository.idx'.
>
> Avi

The reason why I could not delete the repository was because I had not
called closeRepository.  I just figured this out while trying the code
above.

Thanks.



More information about the Squeak-dev mailing list