aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/FileSystem.hxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fs/File{System,Info}: fix regular file checkMax Kellermann2015-03-051-1/+2
| | | | | | Don't use FILE_ATTRIBUTE_NORMAL, it's a "magic" value for something else. To check if a file is a regular file, we need to check if it's NOT a directory (or a device).
* fs/Traits: use TCHAR on WindowsMax Kellermann2015-03-051-0/+16
|
* fs/Traits: add macro PATH_LITERAL()Max Kellermann2015-03-051-2/+2
|
* fs/FileSystem: remove unused WIN32 port of StatFile()Max Kellermann2015-02-281-5/+4
|
* fs/FileSystem: use GetFileAttributes() on WIN32 if possibleMax Kellermann2015-02-271-2/+20
|
* fs/FileSystem: merge CheckAccess() into PathExists()Max Kellermann2015-02-271-16/+6
| | | | | PathExists() should better do what CheckAccess() does, and CheckAccess() doesn't do what its name implies.
* fs/FileSystem: remove unused FOpenModesMax Kellermann2015-02-251-20/+0
|
* Copyright year 2015Max Kellermann2015-01-011-1/+1
|
* copyright year 2014Max Kellermann2014-01-131-1/+1
|
* fs/FileSystem.hxx: don't define CheckAccess() with mode on WindowsDenis Krjuchkov2013-12-051-8/+2
|
* fs/FileSystem.hxx: add CheckAccess without mode parameterDenis Krjuchkov2013-12-051-0/+14
|
* fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8Denis Krjuchkov2013-12-051-7/+7
|
* include cleanup using iwyuMax Kellermann2013-11-281-1/+0
|
* fs/Path: rename to AllocatedPathMax Kellermann2013-10-171-15/+22
| | | | | | | The new class Path only holds a string pointer without being responsible for allocation/deallocation. The FileSystem.hxx library accepts Path arguments instead of AllocatedPath, to avoid forcing callers to allocate another string object.
* fs/Path: move definitions to struct PathTraitsMax Kellermann2013-10-171-30/+32
|
* os/FileSystem: disable mkfifo() wrapper on WIN32Max Kellermann2013-08-071-0/+4
|
* ConfigPath: return a Path objectMax Kellermann2013-08-071-0/+6
| | | | | Migrate all callers to use Path directly, instead of doing the conversion in each caller.
* Makefile.am: move sources to libsystem.aMax Kellermann2013-08-071-1/+1
|
* FileSystem.hxx: add FOpen modes for appending filesDenis Krjuchkov2013-02-021-0/+10
|
* FileSystem: extract DirectoryReader, improve the restDenis Krjuchkov2013-01-221-0/+153
- DirectoryReader is extracted to separate header - FileSystem.cxx/FileSystem.hxx/DirectoryReader.hxx moved to fs/ subdir - Functions return true on success, instead of 0 (where applicable) - ReadLink return result instead of out parameter - UnlinkFile is renamed to RemoveFile - CheckExists/CheckIsRegular/CheckIsDirectory are renamed to PathExists/FileExists/DirectoryExists