Android-cuttlefish cvd tool
Namespaces | Functions
link_or_copy.cc File Reference
#include "cuttlefish/files/link_or_copy.h"
#include <errno.h>
#include <unistd.h>
#include <string>
#include "absl/log/log.h"
#include "cuttlefish/files/are_hard_linked.h"
#include "cuttlefish/files/copy_with_attributes.h"
#include "cuttlefish/files/file_exists.h"
#include "cuttlefish/posix/strerror.h"
#include "cuttlefish/result/expect.h"
#include "cuttlefish/result/result_type.h"
Include dependency graph for link_or_copy.cc:

Namespaces

namespace  cuttlefish
 

Functions

Result< std::string > cuttlefish::LinkOrCopy (const std::string &target, const std::string &destination, const bool overwrite_existing)