Track the status of a File and normalize file paths.

Review Request #12074 — Created Feb. 23, 2022 and submitted — Latest diff uploaded

Information

ReviewBot
release-3.0.x

Reviewers

File now tracks the status from a FileDiff (the
created/deleted/modified/copied/moved states), which we'll be able to
use to make smart decisions when applying changes to files.

It also normalizes the file paths, ensuring that they're in the format
required for the OS and that all relative components have been
collapsed.

Relevant unit tests pass (can't currently run the whole suite).

Diff Revision 2 (Latest)

orig
1
2

Commits

First Last Summary ID Author
Track the status of a File and normalize file paths.
`File` now tracks the status from a `FileDiff` (the created/deleted/modified/copied/moved states), which we'll be able to use to make smart decisions when applying changes to files. It also normalizes the file paths, ensuring that they're in the format required for the OS and that all relative components have been collapsed.
ce0e2bba75824b98f75d908c0dbadf45eeabfd39 Christian Hammond
bot/reviewbot/processing/review.py
Loading...