-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor(cache): makeName -> createHash for clarity - I've actually been confused multiple times as to what `makeName` does when I read through the cache - I re-read the code and then am like "oh it's the hash"... - so thought renaming it to `createHash` would make things **a lot** clearer - `Name` -> `Hash` - `make` -> `create` because that's the more common terminology in programming - also rename variables that reference `makeName`'s return from `name` to `hash` - for the same reason around clarity -- this way it's quicker to interpret whenever you see it too - not to mention, `name` can be confusing since we also have `id`, which is a path that is very similar to a name too - and lots of `fileName`s too - so good to disambiguate/differentiate a bit * rename object-hash default import so no shadowed variables
- Loading branch information
Showing
1 changed file
with
20 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters