Is #openFileStream:writable: used ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Is #openFileStream:writable: used ?

Sven Van Caekenberghe-2
Hi,

Both FileSystem and FileSystemStore (and its subclasses DiskStore and MemoryStore) implement #openFileStream:writable:

However, there are no users and putting a breakpoint there does not trigger when reading/writing files.

Candidate for removal or not ?

Sven


Reply | Threaded
Open this post in threaded view
|

Re: Is #openFileStream:writable: used ?

alistairgrant



On Wed., 9 May 2018, 12:03 Sven Van Caekenberghe, <[hidden email]> wrote:
Hi,

Both FileSystem and FileSystemStore (and its subclasses DiskStore and MemoryStore) implement #openFileStream:writable:

However, there are no users and putting a breakpoint there does not trigger when reading/writing files.

Candidate for removal or not ?

Sven


I think so (well, deprecate at least).

I'd also suggest deprecating FileReference>>openWritable: which is currently broken - it returns an unopened FileHandle.


Cheers,
Alistair
(on phone)