GetLockablePatterns returns a list of patterns in .gitattributes which are marked as lockable
()
| 16 | // GetLockablePatterns returns a list of patterns in .gitattributes which are |
| 17 | // marked as lockable |
| 18 | func (c *Client) GetLockablePatterns() []string { |
| 19 | c.ensureLockablesLoaded() |
| 20 | return c.lockablePatterns |
| 21 | } |
| 22 | |
| 23 | // getLockableFilter returns the internal filter used to check if a file is lockable |
| 24 | func (c *Client) getLockableFilter() *filepathfilter.Filter { |
no test coverage detected