diff include/core/filesystem.h @ 63:3d2decf093bb

*: fix many clang warnings
author Paper <mrpapersonic@gmail.com>
date Sun, 01 Oct 2023 06:39:47 -0400
parents 327568ad9be9
children 39521c47c7a3
line wrap: on
line diff
--- a/include/core/filesystem.h	Sun Oct 01 06:16:06 2023 -0400
+++ b/include/core/filesystem.h	Sun Oct 01 06:39:47 2023 -0400
@@ -5,25 +5,25 @@
 namespace Filesystem {
 
 class Path {
-        public:
-                Path();
-                Path(const std::string& path);
-                Path(const Path& path);
-                bool CreateDirectories() const;
-                bool Exists() const;
-                std::string Basename() const;
-                std::string Stem() const;
-                std::string Extension() const;
-                Path GetParent() const;
-                void SetPath(const std::string& path);
+	public:
+		Path();
+		Path(const std::string& path);
+		Path(const Path& path);
+		bool CreateDirectories() const;
+		bool Exists() const;
+		std::string Basename() const;
+		std::string Stem() const;
+		std::string Extension() const;
+		Path GetParent() const;
+		void SetPath(const std::string& path);
 		std::string GetPath() const;
 
-        private:
-                std::string _path;
+	private:
+		std::string _path;
 };
 
-Path GetDotPath(); // %APPDATA%/minori, ~/Library/Application Support/minori, ~/.config/minori...
-Path GetConfigPath(); // (dotpath)/config.json
+Path GetDotPath();     // %APPDATA%/minori, ~/Library/Application Support/minori, ~/.config/minori...
+Path GetConfigPath();  // (dotpath)/config.json
 Path GetAnimeDBPath(); // (dotpath)/anime/db.json
 
 } // namespace Filesystem