// Copyright (c) 2008-2009 Hartmut Kaiser // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include #include "saga-replica.hpp" /////////////////////////////////////////////////////////////////////////////// #if defined(SAGA_HAVE_PACKAGE_REPLICA) && defined(SAGA_HAVE_PACKAGE_NAMESPACE) void replica_remove_directory (saga_tools::common & c, std::string ldn) { // instantiate logical directory saga::replica::logical_directory ld (c.session (), saga::url (ldn), saga::replica::ReadWrite); // remove this directory ld.remove (saga::replica::Recursive); } #endif