News for hackers. Stuff that matters.
Re:Hey Dropbox, why can't I compare file versions like this? by cwyers on Monday February 03, 2020 @12:47AM (#22221734)
Yeah, the thing is, you can't do this in a file-format-agnostic way (you need to know what a Word doc or an Excel sheet is), which makes the file system layer the wrong level of abstraction to consider.
Re:Hey Dropbox, why can't I compare file versions like this? by enriquto on Monday February 03, 2020 @03:00AM (#22222295)
You can, as long as your files have a meaningful representation as a text file. This is a good idea anyways.
Re:Hey Dropbox, why can't I compare file versions like this? by eru on Thursday February 13, 2020 @01:44AM (#22315812)
That representation is one way to encode the file-format knowledge you need.

Any other way to implement would probably also involve one common format (or a small few) behind the scenes.

Re:Hey Dropbox, why can't I compare file versions like this? by cowsandmilk on Monday February 03, 2020 @07:30AM (#22223555)
The diff when database-backed is still going to be file-format specific because a text-based document will not be stored in a DB identically to a spreadsheet.