Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-02-04 01:17:44 +0000
committerStijn Buys <ingar@osirion.org>2008-02-04 01:17:44 +0000
commit09fb43f3d36847977ac202c10c5a11f34af03a43 (patch)
tree45f4537347e9f8b3195cea00356963e9879a08fa /src/filesystem/path.cc
parent840f9b8678f607aecc15d47bc77248c4ac8b8574 (diff)
astyle
Diffstat (limited to 'src/filesystem/path.cc')
-rw-r--r--src/filesystem/path.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/filesystem/path.cc b/src/filesystem/path.cc
index c090791..44423b0 100644
--- a/src/filesystem/path.cc
+++ b/src/filesystem/path.cc
@@ -8,9 +8,11 @@
#include "filesystem/path.h"
#include "sys/sys.h"
-namespace filesystem {
+namespace filesystem
+{
-void Path::create(std::string path) {
+void Path::create(std::string path)
+{
std::string tmp(path);
if (tmp[tmp.size()-1] == '/')
tmp = tmp.substr(0, tmp.size() - 1);
@@ -21,7 +23,8 @@ void Path::create(std::string path) {
con_debug << "directory created " << tmp << std::endl;
}
-bool Path::exists(std::string path) {
+bool Path::exists(std::string path)
+{
return false;
}