#include <string>#include <string_view>#include <vector>Go to the source code of this file.
Classes | |
| struct | pulp::runtime::DiffEntry |
Namespaces | |
| namespace | pulp |
| namespace | pulp::runtime |
Enumerations | |
| enum class | pulp::runtime::DiffOp { pulp::runtime::Equal , pulp::runtime::Insert , pulp::runtime::Delete } |
Functions | |
| std::vector< DiffEntry > | pulp::runtime::text_diff (std::string_view from, std::string_view to) |
| Compute a line-based diff between two strings. | |
| std::string | pulp::runtime::format_diff (const std::vector< DiffEntry > &diff) |
| Format a diff as a unified diff string (with +/- prefixes). | |