summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvisvgm/dvisvgm-src/src/FileSystem.hpp
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2019-12-10 06:22:32 +0000
committerNorbert Preining <preining@logic.at>2019-12-10 06:22:32 +0000
commit2bc8de74125743b8e3fb84e02f33c65bf9959e82 (patch)
treecb9ec3e069054ad5a2463a83e7013ae97c9701ef /Build/source/texk/dvisvgm/dvisvgm-src/src/FileSystem.hpp
parent7f85e4a77221267523ef1738a61320991bdbc000 (diff)
dvisvgm 2.8.2 (from Martin Gieseking)
git-svn-id: svn://tug.org/texlive/trunk@53077 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-src/src/FileSystem.hpp')
-rw-r--r--Build/source/texk/dvisvgm/dvisvgm-src/src/FileSystem.hpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-src/src/FileSystem.hpp b/Build/source/texk/dvisvgm/dvisvgm-src/src/FileSystem.hpp
index 9a1b80067d8..b882caa9fa2 100644
--- a/Build/source/texk/dvisvgm/dvisvgm-src/src/FileSystem.hpp
+++ b/Build/source/texk/dvisvgm/dvisvgm-src/src/FileSystem.hpp
@@ -24,15 +24,14 @@
#include <string>
#include <vector>
-class FileSystem
-{
+class FileSystem {
public:
~FileSystem ();
static bool remove (const std::string &fname);
static bool rename (const std::string &oldname, const std::string &newname);
static bool copy (const std::string &src, const std::string &dest, bool remove_src=false);
static uint64_t filesize (const std::string &fname);
- static std::string adaptPathSeperators (std::string path);
+ static std::string ensureForwardSlashes (std::string path);
static std::string getcwd ();
static std::string tmpdir ();
static bool chdir (const std::string &dir);
@@ -51,9 +50,6 @@ class FileSystem
FileSystem () =default;
bool system_tmpdir_available ();
static const char* TMPSUBDIR; ///< subdirectory of the system's temporary folder
-
- private:
- static FileSystem _fs;
};
#endif