Sources/Pathman/File/OpenFile.swift
public typealias FileStream = Open<FilePath>
public extension Open where PathType == FilePath {
/// Whether or not the path was opened with read permissions
var mayRead: Bool { return openMode.mayRead }
/// Whether or not the path was opened with write permissions
var mayWrite: Bool { return openMode.mayWrite }
var openMode: OpenFileMode { return openOptions.mode }
}