16 path_(destination_path) {
17 file_ = fopen(destination_path.c_str(),
"w");
31 int ret =
sink_->Purge();
32 int ret2 = unlink(
path_.c_str());
47 std::string result =
"Path sink for ";
48 result +=
"path " +
path_ +
" and ";
49 result +=
IsValid() ?
" valid file pointer" :
" invalid file pointer";
UniquePtr< FileSink > sink_
virtual std::string Describe()
PathSink(const std::string &destination_path)