| 57 | } |
| 58 | |
| 59 | bool ProjectManager::shouldProcess(llvm::StringRef filename, ProjectInfo* project) |
| 60 | { |
| 61 | if (!project) |
| 62 | return false; |
| 63 | if (project->type == ProjectInfo::External) |
| 64 | return false; |
| 65 | |
| 66 | std::string fn = outputPrefix % "/" % project->name % "/" % filename.substr(project->source_path.size()) % ".html"; |
| 67 | return !llvm::sys::fs::exists(fn); |
| 68 | // || boost::filesystem::last_write_time(p) < entry->getModificationTime(); |
| 69 | } |
| 70 | |
| 71 | std::string ProjectManager::includeRecovery(llvm::StringRef includeName, llvm::StringRef from) |
| 72 | { |