samePathAs
Computing the exact path using SnapshotFileLayout.sourcePathForCall is expensive, so it can be helpful to cache these.
If this method always returns false, that would be okay but slow. False negatives are okay, false positives will result in incorrect behavior.