]> git.tdb.fi Git - libs/core.git/blobdiff - source/fs/path.cpp
Comment changes
[libs/core.git] / source / fs / path.cpp
index e514d36bfe490f5a4349f9a46946847221caa5f5..52b1da2241dc9a762dbab76a6caa2a0f9bfa3478 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspfs
-Copyright © 2006-2008  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #include <msp/core/except.h>
 #include <msp/strings/utils.h>
 #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())