Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Key() to LayeredMap and Snapshotter #337

Merged
merged 2 commits into from
Sep 11, 2018

Commits on Sep 4, 2018

  1. Add Key() to LayeredMap and Snapshotter

    This will return a string representaiton of the current filesystem to be
    used with caching.
    
    Whenever a file is explictly added (via ADD or COPY), it will be stored
    in "added" in the LayeredMap. The file will map to a hash created by
    CacheHasher (which doesn't take into account mtime, since that will be
    different with every build, making the cache useless)
    
    Key() will returns a sha of the added files which will be used in
    determining the overall cache key for a command.
    Priya Wadhwa committed Sep 4, 2018
    Configuration menu
    Copy the full SHA
    13accba View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2018

  1. code review comments

    Priya Wadhwa committed Sep 7, 2018
    Configuration menu
    Copy the full SHA
    80a449f View commit details
    Browse the repository at this point in the history