dlib.filesystem.filesystem

Members

Aliases

FileSize
alias FileSize = StreamSize

File size type

Functions

findFiles
InputRange!DirEntry findFiles(ReadOnlyFileSystem rofs, string baseDir, bool recursive)

Find files in the specified directory

Interfaces

Directory
interface Directory

A directory in the file system.

FileSystem
interface FileSystem

A file system with read/write access.

ReadOnlyFileSystem
interface ReadOnlyFileSystem

A filesystem limited to read access.

Manifest constants

PExecute
enum PExecute;

If a file is executable, FileStat.permissions will have PExecute bits set

PRead
enum PRead;

If a file is readable, FileStat.permissions will have PRead bits set

PWrite
enum PWrite;

If a file is writable, FileStat.permissions will have PWrite bits set

Structs

DirEntry
struct DirEntry

A filesystem entry - file or directory

FileStat
struct FileStat

Holds general information about a file or directory.

Meta

Authors

Martin Cejp, Timur Gafarov