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

local: only walk the subdirectory designated by prefix #212

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 30, 2020

  1. local: only walk the subdirectory designated by prefix

    When listing items using the local-file-system driver, only
    traverse the subdirectory with longest prefix that contains
    the given listing prefix.
    
    Three cases are of interest:
    
    a. The listing prefix is foo/bar/ - we walk subdirectory foo/bar
       under the container's path.
    b. The listing prefix is foo/ba - we walk subdirectory foo under
       the container's path, and filter stuff that doesn't begin with
       foo/ba.
    c. The prefix is an empty string - walk the container's path like
       today.
    urisimchoni committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    988b9a3 View commit details
    Browse the repository at this point in the history