oa::Filesystem
— stateless host-filesystem operations. oa::Path owns lexical path manipulation. oa::Paths owns OA location discovery.
Static Public Methods
static oa::Result<oa::Vector<oa::Path>> oa::Filesystem::glob(const oa::Path & inDir, oa::StringView inPattern)static oa::Result<oa::Vector<oa::Path>> oa::Filesystem::listAll(const oa::Path & inDir, bool inRecursive = false)static oa::Result<oa::Vector<oa::Path>> oa::Filesystem::listFiles(const oa::Path & inDir, oa::StringView inExtension = "")static oa::Status oa::Filesystem::removeDirectory(const oa::Path & inPath, bool inRecursive = false)Public Method Documentation
Parameters
inPathconst oa::Path &—
Returns
oa::Result<oa::Path>The declared return value.
Parameters
inPathconst oa::Path &—
inContentoa::StringView—
Returns
oa::StatusThe declared return value.
Parameters
inFromconst oa::Path &—
inToconst oa::Path &—
Returns
oa::StatusThe declared return value.
Parameters
inPathconst oa::Path &—
Returns
oa::StatusThe declared return value.
Parameters
inPathconst oa::Path &—
Returns
oa::StatusThe declared return value.
Parameters
inPathconst oa::Path &—
Returns
boolThe declared return value.
Parameters
inPathconst oa::Path &—
Returns
oa::Result<oa::Usize>The declared return value.
Parameters
inPathconst oa::Path &—
Returns
oa::Result<oa::I64>The declared return value.
Parameters
inDirconst oa::Path &—
inPatternoa::StringView—
Returns
oa::Result<oa::Vector<oa::Path>>The declared return value.
Parameters
inPathconst oa::Path &—
Returns
boolThe declared return value.
Parameters
inPathconst oa::Path &—
Returns
boolThe declared return value.
Parameters
inDirconst oa::Path &—
inRecursiveboolDefault: false
Returns
oa::Result<oa::Vector<oa::Path>>The declared return value.
Parameters
inDirconst oa::Path &—
Returns
oa::Result<oa::Vector<oa::Path>>The declared return value.
Parameters
inDirconst oa::Path &—
inExtensionoa::StringViewDefault: ""
Returns
oa::Result<oa::Vector<oa::Path>>The declared return value.
Parameters
inFromconst oa::Path &—
inToconst oa::Path &—
Returns
oa::StatusThe declared return value.
Parameters
inPathconst oa::Path &—
Returns
oa::Result<oa::Vector<oa::U8>>The declared return value.
Parameters
inPathconst oa::Path &—
Returns
oa::Result<oa::Vector<oa::String>>The declared return value.
Parameters
inPathconst oa::Path &—
Returns
oa::Result<oa::Vector<T>>The declared return value.
Parameters
inPathconst oa::Path &—
Returns
oa::Result<oa::String>The declared return value.
Parameters
inPathconst oa::Path &—
inRecursiveboolDefault: false
Returns
oa::StatusThe declared return value.
Parameters
inPathconst oa::Path &—
Returns
oa::StatusThe declared return value.
Parameters
inPathconst oa::Path &—
inDataoa::Span<const oa::U8>—
Returns
oa::StatusThe declared return value.
Parameters
inPathconst oa::Path &—
inDataoa::Span<const T>—
Returns
oa::StatusThe declared return value.
Parameters
inPathconst oa::Path &—
inContentoa::StringView—
Returns
oa::StatusThe declared return value.