// Copyright (c) 2008 Ole Weidner // // 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" /////////////////////////////////////////////////////////////////////////////// void replica_remove_pfn (std::string lfnURL, std::string pfnURL) { using namespace saga; SAGA_GUARDED_EXEC ( // instantiate logical file saga::url lfn(lfnURL); replica::logical_file logfile (lfn, saga::replica::Write); // list attributes logfile.remove_location(pfnURL); ) }