public interface RefFilter
The filter is called by ReceivePack
and UploadPack
to ensure
that the refs are filtered before they are advertised to the client.
This can be used by applications to control visibility of certain refs based on a custom set of rules.
Modifier and Type | Field | Description |
---|---|---|
static RefFilter |
DEFAULT |
The default filter, allows all refs to be shown.
|
Modifier and Type | Method | Description |
---|---|---|
Map<String,Ref> |
filter(Map<String,Ref> refs) |
Filters a
Map of refs before it is advertised to the client. |
static final RefFilter DEFAULT
Copyright © 2018. All rights reserved.