Basically moving PBD::copy_file implementation to pbd/filesystem.h/cc.
The implementation itself looks like it could be improved to use
much less memory when copying big files by reading and writing in
chunks but I don't think that is an issue at present.
git-svn-id: svn://localhost/ardour2/trunk@2376 d708f5d6-7413-0410-9779-e7cbd77b26cf
API is intended to be indentical(apart from the string type) to boost::filesystem::remove
git-svn-id: svn://localhost/ardour2/trunk@2372 d708f5d6-7413-0410-9779-e7cbd77b26cf
Change the meaning of the return value of SessionDirectory::create and add documentation to explain usage.
Add PBD::sys::filesystem_error to indicate a filesystem error and throw it where necessary.
Change the semantics of PBD::sys::create_directory/ies functions to match boost::filesystem
git-svn-id: svn://localhost/ardour2/trunk@1884 d708f5d6-7413-0410-9779-e7cbd77b26cf
Add ARDOUR::SessionDirectory class
Use SessionDirectory to create the session directory structure when creating a new session
git-svn-id: svn://localhost/ardour2/trunk@1874 d708f5d6-7413-0410-9779-e7cbd77b26cf