Skip to content
Snippets Groups Projects
Commit b565201d authored by Antoine Lambert's avatar Antoine Lambert
Browse files

storage: Allow to filter out branches by prefix when counting them

Add an optional branch_name_exclude_prefix parameter to the
snapshot_count_branches method of the Storage interface.

It enables to filter out branches whose name starts with a
given prefix when counting.

The purpose is to get accurate counters in swh-web as pull
request branches will be filtered out by default.

Related to T2782
parent 93301a1f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment