X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Ffs%2Fpath.cpp;h=52b1da2241dc9a762dbab76a6caa2a0f9bfa3478;hp=e514d36bfe490f5a4349f9a46946847221caa5f5;hb=refs%2Fheads%2Ffs-master;hpb=af94bc926e301e9b871dc18662b4fa6e5614fdbf diff --git a/source/fs/path.cpp b/source/fs/path.cpp index e514d36..52b1da2 100644 --- a/source/fs/path.cpp +++ b/source/fs/path.cpp @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspfs -Copyright © 2006-2008 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #include #include #include "path.h" @@ -80,11 +73,6 @@ Path Path::operator/(const Path &p) const return a; } -/** -Attaches another path to the end of this one. An absolute path replaces the -existing data. ".." elements annihilate the last component and "." elements -are ignored. -*/ Path &Path::operator/=(const Path &p) { if(p.is_absolute()) @@ -155,10 +143,6 @@ void Path::init(const string &p) } } -/** -Adds a single component to the path, emulating the cd command. Fails horribly -if comp contains a separator character. -*/ void Path::add_component(const string &comp) { if(comp.empty())