more ~master (2021-04-25T17:22:00Z)
Home
Dub
Repo
fileQueryTemplate
filequery
Undocumented in source.
template
fileQueryTemplate (
Policy
) {
version(Windows)
static if
(
oneOrMoreAttributesSupported
)
enum
useGetFileAttributes
;
version(Windows)
static if
(!(
oneOrMoreAttributesSupported
))
static if
(
supportOp("exists")
)
enum
useGetFileAttributes
;
version(Windows)
static if
(!(
oneOrMoreAttributesSupported
))
static if
(!(
supportOp("exists")
))
enum
useGetFileAttributes
;
version(!Windows && Posix)
enum
useStat
;
import
core
.
sys
.
posix
.
sys
.
stat
;
;
version(!Windows && Posix)
static if
(
useStat
)
static if
(
supportOp("exists")
)
enum
saveStatSucceeded
;
version(!Windows && Posix)
static if
(
useStat
)
static if
(!(
supportOp("exists")
))
enum
saveStatSucceeded
;
struct
FileInfo
;
auto
query
(FileInfo* outInfo, R name);
version
(
Posix
)
FileInfo
querySymlink
(R name);
}
Members
Functions
query
auto
query
(FileInfo* outInfo, R name)
ditto
querySymlink
FileInfo
querySymlink
(R name)
Undocumented in source. Be warned that the author may not have intended to support it.
Manifest constants
saveStatSucceeded
enum
saveStatSucceeded
;
Undocumented in source.
saveStatSucceeded
enum
saveStatSucceeded
;
Undocumented in source.
useGetFileAttributes
enum
useGetFileAttributes
;
Undocumented in source.
useGetFileAttributes
enum
useGetFileAttributes
;
Undocumented in source.
useGetFileAttributes
enum
useGetFileAttributes
;
Undocumented in source.
useStat
enum
useStat
;
Undocumented in source.
Structs
FileInfo
struct
FileInfo
Undocumented in source.
Meta
Source
See Implementation
filequery
mixin templates
makeFileQuery
structs
AllSupportedOps
FileQueryEverythingEnabledExamplePolicy
templates
fileQueryTemplate