Feature #462: url support

- curl enhancements (push/pull multiple files)
- now supports push/pull to/from filesystem
This commit is contained in:
Johannes Schlatow 2010-10-06 18:53:02 +02:00
parent 042d7b40de
commit 1a16b3ae6b
7 changed files with 144 additions and 77 deletions

View file

@ -104,7 +104,7 @@ std::string Uri::parent () const
{
std::string::size_type slash = path.rfind ('/');
if (slash != std::string::npos)
return path.substr (0, slash);
return path.substr (0, slash+1);
}
return "";