gitserver: Lift best effort filepath.Walk pattern into helper
Created by: keegancsmith
This is to make it clearer our intentions in everyplace we use this pattern in gitserver.
Follow-up from https://github.com/sourcegraph/sourcegraph/pull/7030
Created by: keegancsmith
This is to make it clearer our intentions in everyplace we use this pattern in gitserver.
Follow-up from https://github.com/sourcegraph/sourcegraph/pull/7030