Inspir最核心的文本diff算法,由diff库替我们实现,这里我们使用的是diffLines方法(关于diff库的使用,笔者有一篇博文diff使用指南有详细介绍)。通过该库输出的数据结构,对其进行二次开发,以便实现类似gitHub的文件diff效果。ation

What it does

How we built it

Challenges we ran into

Accomplishments that we're proud of

What we learned

What's next for dife交互体验

Built With

Share this project:

Updates