Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Structs PosixDirectory

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
module 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;
}

Documentation

A Directoryimplementation that's probably not actually POSIX compatible.

As with all IO Driver implementations, this struct inherits GenericIoDriverfor common IO functions.

See_Also

GenericIoDriver

Aliases

Name Description
AccessMode
CreateMode
Flags
PermissionFlags
ResolveFlags
__xdtor
__xpostblit

Functions

Name Description
opAssign
open

NOTE: Because directories on POSIX systems are just specially flagged files, please refer to the documentation for File.openas almost everything will apply to this function as well.

Variables

Name Description
_driver