Track the status of a File and normalize file paths.

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

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).

Summary ID
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
Description From Last Updated

F401 'reviewbot.utils.filesystem.ensure_dirs_exist' imported but unused

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.0.x (0004867)