17 #ifndef __URI_FETCHERS_COPY_HPP__ 18 #define __URI_FETCHERS_COPY_HPP__ 41 std::set<std::string>
schemes()
const override;
43 std::string
name()
const override;
47 const std::string& directory,
58 #endif // __URI_FETCHERS_COPY_HPP__
std::string name() const override
Returns the name that this plugin registered with.
static const char NAME[]
Definition: copy.hpp:35
static Try< process::Owned< Fetcher::Plugin > > create(const Flags &flags)
process::Future< Nothing > fetch(const URI &uri, const std::string &directory, const Option< std::string > &data=None(), const Option< std::string > &outputFileName=None()) const override
Fetches a URI to the given directory.
std::set< std::string > schemes() const override
Returns the URI schemes that this plugin handles.
~CopyFetcherPlugin() override
Definition: copy.hpp:39
Represents a fetcher plugin that handles one or more URI schemes.
Definition: fetcher.hpp:52