Home | History | Annotate | Download | only in patchoat

Lines Matching full:output_filename

110 static bool SymlinkFile(const std::string& input_filename, const std::string& output_filename) {
111 if (input_filename == output_filename) {
117 unlink(output_filename.c_str());
120 if (symlink(input_filename.c_str(), output_filename.c_str()) < 0) {
121 PLOG(ERROR) << "Failed to create symlink " << output_filename << " -> " << input_filename;
126 LOG(INFO) << "Created symlink " << output_filename << " -> " << input_filename;