Lines Matching refs:file_path
62 Status SstFileManagerImpl::OnAddFile(const std::string& file_path, in OnAddFile() argument
65 Status s = fs_->GetFileSize(file_path, IOOptions(), &file_size, nullptr); in OnAddFile()
68 OnAddFileImpl(file_path, file_size, compaction); in OnAddFile()
74 Status SstFileManagerImpl::OnAddFile(const std::string& file_path, in OnAddFile() argument
77 OnAddFileImpl(file_path, file_size, compaction); in OnAddFile()
82 Status SstFileManagerImpl::OnDeleteFile(const std::string& file_path) { in OnDeleteFile() argument
85 OnDeleteFileImpl(file_path); in OnDeleteFile()
428 const std::string& file_path, const std::string& path_to_sync, in ScheduleFileDeletion() argument
431 const_cast<std::string*>(&file_path)); in ScheduleFileDeletion()
432 return delete_scheduler_.DeleteFile(file_path, path_to_sync, in ScheduleFileDeletion()
440 void SstFileManagerImpl::OnAddFileImpl(const std::string& file_path, in OnAddFileImpl() argument
442 auto tracked_file = tracked_files_.find(file_path); in OnAddFileImpl()
457 in_progress_files_.insert(file_path); in OnAddFileImpl()
460 tracked_files_[file_path] = file_size; in OnAddFileImpl()
463 void SstFileManagerImpl::OnDeleteFileImpl(const std::string& file_path) { in OnDeleteFileImpl() argument
464 auto tracked_file = tracked_files_.find(file_path); in OnDeleteFileImpl()
467 assert(in_progress_files_.find(file_path) == in_progress_files_.end()); in OnDeleteFileImpl()
473 if (in_progress_files_.find(file_path) != in_progress_files_.end()) { in OnDeleteFileImpl()
475 in_progress_files_.erase(file_path); in OnDeleteFileImpl()