35LPPAPI
bool copyFile(
const String& source,
const String& dest);
56LPPAPI String
joinPath(
const String& path,
const String& file);
Utility template class to handle hash set collections that can be safely copied and shared.
Definition HashSet.h:17
LPPAPI bool createDirectory(const String &path)
Create new directory under given location.
LPPAPI bool setFileLength(const String &path, int64_t length)
Set new file length, truncating or expanding as required.
LPPAPI bool copyDirectory(const String &source, const String &dest)
Copy a directory to/from file system.
LPPAPI bool removeFile(const String &path)
Delete file from file system.
LPPAPI bool fileExists(const String &path)
Return true if given file or directory exists.
LPPAPI uint64_t fileModified(const String &path)
Return file last modified date and time.
LPPAPI int64_t fileLength(const String &path)
Return file length in bytes.
LPPAPI String extractFile(const String &path)
Extract file name from given path.
LPPAPI bool copyFile(const String &source, const String &dest)
Copy a file to/from file system.
LPPAPI bool isDirectory(const String &path)
Return true if given path points to a directory.
LPPAPI String extractPath(const String &path)
Extract parent path from given path.
LPPAPI bool listDirectory(const String &path, bool filesOnly, HashSet< String > dirList)
Return list of files (and/or directories) under given directory.
LPPAPI String joinPath(const String &path, const String &file)
Return complete path after joining given directory and file name.
LPPAPI bool touchFile(const String &path)
Set file last modified date and time to now.
LPPAPI bool removeDirectory(const String &path)
Delete directory from file system.
Definition AbstractAllTermDocs.h:12