123456789101112131415161718192021222324252627282930313233module juptune.event.io;
struct PosixDirectory
{
/++ ALIASES ++/
///
alias AccessMode = PosixFile.AccessMode;
///
alias CreateMode = PosixFile.CreateMode;
///
alias Flags = PosixFile.Flags;
///
alias PermissionFlags = PosixFile.PermissionFlags;
///
alias ResolveFlags = PosixFile.ResolveFlags;
///
alias __xdtor = __MARMOS_BUG__;
///
alias __xpostblit = __MARMOS_BUG__;
/++ FUNCTIONS ++/
///
PosixDirectory opAssign(PosixDirectory p);
/// NOTE: Because directories on POSIX systems are just specially flagged files, please refer to the documentation for File.open as almost everything will apply to this function as well.
static Result open(const char[] path, PosixFile.AccessMode accessMode, PosixFile.CreateMode createMode, PosixFile.Flags flags, PosixFile.ResolveFlags resolveFlags, PosixFile.PermissionFlags permissions, PosixDirectory* cwd, PosixDirectory dir, bool pathIsNullTerminated = false);
/++ VARIABLES ++/
///
GenericIoDriver!(FileDescriptorReadWriteType.writeAndRead) _driver;
}
A Directoryimplementation that's probably not actually POSIX compatible.
As with all IO Driver implementations, this struct inherits GenericIoDriverfor common IO functions.
GenericIoDriver
| Name | Description |
|---|---|
| AccessMode | |
| CreateMode | |
| Flags | |
| PermissionFlags | |
| ResolveFlags | |
| __xdtor | |
| __xpostblit |
| Name | Description |
|---|---|
| opAssign | |
| open |
NOTE: Because directories on POSIX systems are just specially flagged files, please refer to the documentation for |
| Name | Description |
|---|---|
| _driver |