Skip to content
FutureBlitz

    Install

    Import std.io.vfs

    VfsSource

    std.io.vfs

    interface

    Public Interface VfsSource

    Where a Vfs's files come from. Its paths are inside it, with '/' between names, and "" for its root, which is always a folder. What can't be read is an IOError; what isn't there is Null.

    std/io/vfs.fb, line 32

    • Method Read(path: String): UInt8[]? Throws IOError method #

      The bytes of the file at path, or Null when there's no file there.

    • Method KindAt(path: String): FileKind? Throws IOError method #

      What's at path, or Null when nothing is.

    • Method List(path: String): (String, FileKind)[]? Throws IOError method #

      The names of what's in the folder at path, and their kinds, in any order, or Null when there's no folder there.

    Report an issue with this page or with FutureBlitz on GitHub.