vibe.d beta banner
get vibe.d

Asynchronous I/O that doesn’t get in your way, written in D

Enum FileMode

Specifies how a file is manipulated on disk.

enum FileMode : int { ... }

Enum members

append The file is opened for appending data to it and created if it does not exist.
createTrunc The file is truncated if it exists or created otherwise and then opened for read-write access.
read The file is opened read-only.
readWrite The file is opened for read-write random access.

Sönke Ludwig


© 2012-2019 RejectedSoftware e.K.


Subject to the terms of the MIT license, as written in the included LICENSE.txt file.