RejectedSoftware Forums

Sign up

How does one determine if a FileStream is closed?

I can't find the equivalent of std.stdio : File's isOpen method, which determines if the file handle is open for reading and writing, on vibe.core.file : FileStream.

Does such a method, or equivalent way to check if the stream is open, exist?

Thank you,
--Dylan

Re: How does one determine if a FileStream is closed?

Am 14.09.2013 06:33, schrieb Dylan Knutson:

I can't find the equivalent of std.stdio : File's isOpen method, which determines if the file handle is open for reading and writing, on vibe.core.file : FileStream.

Does such a method, or equivalent way to check if the stream is open, exist?

Thank you,
--Dylan

That was actually missing, I've just added it on git master.