index
:
anonymous/yuzu
master
yuzu is the world's most popular, open-source, Nintendo Switch emulator — started by the creators of Citra. It is written in C++ with portability in mind,
mirror
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
src
/
common
/
file_util.cpp
(
follow
)
Commit message (
Expand
)
Author
Age
Files
Lines
*
common/file_util: Simplify the behavior of CreateFullPath
Morph
2020-12-10
1
-9
/
+3
*
common/file_util: Let std::filesystem cast from UTF16 to std::string
ReinUsesLisp
2020-12-09
1
-1
/
+1
*
common/file_util: Fix and deprecate CreateFullPath, add CreateDirs
ReinUsesLisp
2020-12-09
1
-2
/
+23
*
common/file_util: Succeed on CreateDir when the directory exists
ReinUsesLisp
2020-12-09
1
-0
/
+5
*
file_util: Migrate remaining file handling functions over to std::filesystem
Lioncash
2020-12-09
1
-297
/
+81
*
file_util: Migrate Exists() and IsDirectory() over to std::filesystem
Lioncash
2020-12-09
1
-53
/
+8
*
common: Enable warnings as errors
Lioncash
2020-11-02
1
-13
/
+18
*
Merge pull request #4539 from lioncash/disc
bunnei
2020-08-19
1
-2
/
+2
|
\
|
*
common: Silence two discarded result warnings
Lioncash
2020-08-16
1
-2
/
+2
*
|
common/fileutil: Convert namespace to Common::FS
Lioncash
2020-08-16
1
-28
/
+36
|
/
*
common: Add a screenshots directory
lat9nq
2020-07-21
1
-0
/
+1
*
Merge pull request #3630 from benru/open-windows-network-files
bunnei
2020-04-18
1
-1
/
+8
|
\
|
*
common/file_util: Allow access to files on network shares
Ben Russell
2020-04-09
1
-1
/
+8
*
|
file_util: Early-exit in WriteArray and ReadArray if specified lengths are zero
Lioncash
2020-04-15
1
-0
/
+28
|
/
*
common: Port some changes from dolphin (#5127)
Vitor K
2020-04-01
1
-9
/
+13
*
common/file_util: Silence -Wswitch
ReinUsesLisp
2019-10-05
1
-1
/
+2
*
common/file_util: Remove unnecessary return at end of void StripTailDirSlashes()
Lioncash
2019-05-23
1
-6
/
+8
*
common/file_util: Make GetCurrentDir() return a std::optional
Lioncash
2019-05-23
1
-2
/
+2
*
common/file_util: Remove duplicated documentation comments
Lioncash
2019-05-23
1
-25
/
+0
*
common/file_util: Make ReadFileToString and WriteStringToFile consistent
Lioncash
2019-05-23
1
-3
/
+3
*
file_util: Add shader directory
ReinUsesLisp
2019-02-07
1
-0
/
+1
*
only redefine 64 bit file operation for MSVC
Weiyi Wang
2018-10-23
1
-5
/
+8
*
common_paths: Add Load and Dump dirs
Zach Hilman
2018-09-22
1
-0
/
+2
*
Port #4182 from Citra: "Prefix all size_t with std::"
fearlessTobi
2018-09-15
1
-8
/
+8
*
file_util: Correct return value in early exit of ReadFileToString()
Lioncash
2018-08-24
1
-1
/
+1
*
file_util: Add getter for NAND registration directory
Zach Hilman
2018-08-12
1
-0
/
+6
*
file_util: Use enum instead of bool for specifing path behavior
Zach Hilman
2018-08-09
1
-4
/
+4
*
file_util: Add platform-specific slash option to SanitizePath
Zach Hilman
2018-08-09
1
-3
/
+13
*
Allow key loading from %YUZU_DIR%/keys in addition to ~/.switch
Zach Hilman
2018-08-01
1
-0
/
+1
*
Use SHGetKnownFolderPath instead of SHGetFolderPathA
Zach Hilman
2018-08-01
1
-3
/
+4
*
Extract mbedtls to cpp file
Zach Hilman
2018-08-01
1
-1
/
+1
*
Remove files that are not used
Zach Hilman
2018-08-01
1
-0
/
+12
*
VFS Regression and Accuracy Fixes (#776)
Zach Hilman
2018-07-24
1
-1
/
+10
*
Merge pull request #768 from lioncash/string-view
bunnei
2018-07-22
1
-34
/
+48
|
\
|
*
file_util, vfs: Use std::string_view where applicable
Lioncash
2018-07-22
1
-34
/
+48
*
|
Merge pull request #765 from lioncash/file
bunnei
2018-07-22
1
-24
/
+14
|
\
\
|
|
/
|
/
|
|
*
file_util: Remove goto usages from Copy()
Lioncash
2018-07-22
1
-24
/
+14
*
|
file_util: Use a u64 to represent number of entries
Lioncash
2018-07-22
1
-9
/
+9
*
|
file_util: std::move FST entries in ScanDirectoryTree()
Lioncash
2018-07-22
1
-1
/
+1
|
/
*
Merge pull request #759 from lioncash/redundant
bunnei
2018-07-22
1
-2
/
+1
|
\
|
*
file_util: Remove explicit type from std::min() in GetPathWithoutTop()
Lioncash
2018-07-21
1
-1
/
+1
|
*
file_util: Remove redundant duplicate return in GetPathWithoutTop()
Lioncash
2018-07-21
1
-1
/
+0
*
|
file_util: Use an enum class for GetUserPath()
Lioncash
2018-07-21
1
-33
/
+35
|
/
*
file_util: return string by const reference for GetExeDirectory()
Lioncash
2018-07-19
1
-1
/
+1
*
Virtual Filesystem 2: Electric Boogaloo (#676)
Zach Hilman
2018-07-19
1
-26
/
+81
*
Revert "Virtual Filesystem (#597)"
bunnei
2018-07-08
1
-67
/
+26
*
Merge pull request #630 from FearlessTobi/remove-citra-references
bunnei
2018-07-06
1
-1
/
+1
|
\
|
*
Remove some references to Citra
fearlessTobi
2018-07-06
1
-1
/
+1
*
|
Virtual Filesystem (#597)
Zach Hilman
2018-07-06
1
-26
/
+67
|
/
*
Add configurable logging backends
James Rowe
2018-07-03
1
-5
/
+12
*
Update clang format
James Rowe
2018-07-03
1
-10
/
+8
*
Rename logging macro back to LOG_*
James Rowe
2018-07-03
1
-40
/
+40
*
file_util: Make move constructor/assignment operator and related functions noexcept
Lioncash
2018-04-30
1
-3
/
+3
*
general: Convert assertion macros over to be fmt-compatible
Lioncash
2018-04-27
1
-3
/
+3
*
common: Move logging macros over to new fmt-capable macros where applicable
Lioncash
2018-04-27
1
-48
/
+48
*
Format: Run the new clang format on everything
James Rowe
2018-01-21
1
-9
/
+8
*
file_util: Log when using local user directory
wwylele
2017-03-11
1
-0
/
+2
*
file_util: lower logging level for harmless cases
wwylele
2017-03-08
1
-9
/
+7
*
file_util: Fixed implicit type conversion warning (#2503)
noah the goodra
2017-01-31
1
-2
/
+2
*
file_util: fix missing sysdata path
wwylele
2016-12-23
1
-3
/
+1
*
file_util: Remove unused paths.
bunnei
2016-12-22
1
-49
/
+3
*
Common: Fix gcc build on macOS
Jeffrey Pfau
2016-12-13
1
-0
/
+11
*
WINVER definition moved to CMake and cleanup
freiro
2016-11-30
1
-3
/
+0
*
Removed /user/ from path
freiro
2016-11-26
1
-2
/
+1
*
Switch to AppData/Roaming
freiro
2016-11-24
1
-3
/
+3
*
Return by value and other fixes
freiro
2016-11-19
1
-13
/
+7
*
Win32 move default user folder location to AppData
freiro
2016-11-19
1
-0
/
+23
*
common: convert to standard stat()/fstat() interfaces
Anthony J. Bentley
2016-10-28
1
-15
/
+10
*
common: stat64 is non-standard, hide on a random Unix
Jan Beich
2016-10-28
1
-1
/
+1
*
Remove special rules for Windows.h and library includes
Yuri Kunde Schlesner
2016-09-21
1
-0
/
+1
*
Use negative priorities to avoid special-casing the self-include
Yuri Kunde Schlesner
2016-09-21
1
-1
/
+1
*
Remove empty newlines in #include blocks.
Emmanuel Gil Peyrot
2016-09-21
1
-1
/
+0
*
Manually tweak source formatting and then re-run clang-format
Yuri Kunde Schlesner
2016-09-19
1
-2
/
+1
*
Sources: Run clang-format on everything.
Emmanuel Gil Peyrot
2016-09-18
1
-292
/
+223
*
Common: readdir_r() is deprecated, switch to readdir().
Emmanuel Gil Peyrot
2016-09-13
1
-6
/
+2
*
Fix recursive scanning of directories
Yuri Kunde Schlesner
2016-06-19
1
-12
/
+10
*
Common: Make recursive FileUtil functions take a maximum recursion
Emmanuel Gil Peyrot
2016-05-21
1
-20
/
+28
*
Merge pull request #1672 from wwylele/win-driver-fix
bunnei
2016-04-19
1
-3
/
+12
|
\
|
*
fix driver root identification on Windows
wwylele
2016-04-15
1
-3
/
+12
*
|
file_util: In-class initialize data members
Lioncash
2016-04-14
1
-4
/
+2
*
|
file_util: const qualify IOFile's Tell and GetSize functions
Lioncash
2016-04-14
1
-6
/
+6
*
|
file_util: Don't expose IOFile internals through the API
Lioncash
2016-04-14
1
-22
/
+3
|
/
*
remove debug code
LFsWang
2016-03-31
1
-1
/
+1
*
fix unicode url problem on windows
LFsWang
2016-03-31
1
-6
/
+18
*
Fix encode problem On Windows
LFsWang
2016-03-31
1
-12
/
+17
*
DiskDirectory: Initialize the directory member with valid info.
Subv
2016-01-16
1
-1
/
+1
*
Add missing return values in ForeachDirectoryEntry
LFsWang
2015-12-23
1
-4
/
+14
*
Refactor ScanDirectoryTreeAndCallback to separate errors and retvals
archshift
2015-11-27
1
-37
/
+35
*
Merge pull request #1095 from archshift/game-list
bunnei
2015-10-02
1
-100
/
+60
|
\
|
*
Split up FileUtil::ScanDirectoryTree to be able to use callbacks for custom behavior
archshift
2015-10-01
1
-100
/
+60
*
|
general: Silence some warnings when using clang
Lioncash
2015-09-16
1
-2
/
+2
|
/
*
Common: Fix FileUtil includes, and everything relying on those.
Emmanuel Gil Peyrot
2015-06-28
1
-2
/
+9
*
Remove every trailing whitespace from the project (but externals).
Emmanuel Gil Peyrot
2015-05-29
1
-1
/
+1
*
Common: Remove common.h
Yuri Kunde Schlesner
2015-05-07
1
-2
/
+4
*
Common: Move IO-specific compatibility macros to file_util.cpp
Yuri Kunde Schlesner
2015-05-07
1
-18
/
+26
*
Common: Remove many unnecessary cross-platform compatibility macros
Yuri Kunde Schlesner
2015-05-07
1
-2
/
+2
*
Common: Switch to the XDG Base Directory Specification for directory selection.
Emmanuel Gil Peyrot
2015-02-25
1
-9
/
+68
*
Common: Change names containing “Dolphin” or “PPSSPP” to something more generic.
Emmanuel Gil Peyrot
2015-02-20
1
-7
/
+7
*
Archives: Changed the way paths are built for the archives.
Subv
2015-01-04
1
-10
/
+2
*
Archives: Change the folder layout of some archives.
Subv
2015-01-03
1
-0
/
+2
*
Archives: Reduced duplicate code in RomFS and SaveCheck.
Subv
2015-01-03
1
-0
/
+2
*
Archives: Implemented ExtSaveData and SharedExtSaveData
Subv
2014-12-30
1
-0
/
+2
*
License change
purpasmart96
2014-12-21
1
-2
/
+2
*
SaveData: Implemented the SystemSaveData archive.
Subv
2014-12-18
1
-0
/
+2
*
Filesystem/Archives: Implemented the SaveData archive
Subv
2014-12-18
1
-0
/
+2
*
Convert old logging calls to new logging macros
Yuri Kunde Schlesner
2014-12-13
1
-42
/
+42
*
Common: Add "sysdata" to GetUserPath and cleanup.
bunnei
2014-12-12
1
-13
/
+1
*
Change NULLs to nullptrs.
Rohit Nirmal
2014-12-03
1
-12
/
+12
*
Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated
Emmanuel Gil Peyrot
2014-11-19
1
-31
/
+31
*
Merge pull request #133 from archshift/sdmc-enabled
bunnei
2014-10-24
1
-2
/
+4
|
\
|
*
Common: Return from CreateFullPath early if the directory creation fails
archshift
2014-10-23
1
-2
/
+4
*
|
Use std sized types instead of platform specific typedefs
Yuri Kunde Schlesner
2014-10-23
1
-0
/
+1
|
/
*
Merge pull request #108 from archshift/config
bunnei
2014-10-08
1
-36
/
+36
|
\
|
*
Added configuration file system.
archshift
2014-10-08
1
-36
/
+36
*
|
Common: Add a helper function to generate a 8.3 filename from a long one.
Emmanuel Gil Peyrot
2014-10-06
1
-0
/
+42
*
|
Fix warnings in core and common
Lioncash
2014-09-28
1
-2
/
+2
|
/
*
Use the citra user path for the sdmc directory
archshift
2014-09-21
1
-0
/
+2
*
Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions.
Emmanuel Gil Peyrot
2014-09-17
1
-19
/
+19
*
Merge pull request #99 from archshift/ext-check
bunnei
2014-09-11
1
-13
/
+13
|
\
|
*
Added string_util to common, small changes in loader.cpp
archshift
2014-09-09
1
-13
/
+13
*
|
common: Prune all redundant includes
archshift
2014-09-09
1
-7
/
+0
|
/
*
Common: Move remaining C header includes over to their C++ equivalent
Lioncash
2014-08-17
1
-2
/
+2
*
fixes to build on linux
bunnei
2014-04-23
1
-1
/
+1
*
fixed project includes to use new directory structure
bunnei
2014-04-09
1
-5
/
+5
*
got rid of 'src' folders in each sub-project
bunnei
2014-04-09
1
-0
/
+910