MCPcopy Index your code
hub / github.com/git-lfs/git-lfs / GetLockablePatterns

Method GetLockablePatterns

locking/lockable.go:18–21  ·  view source on GitHub ↗

GetLockablePatterns returns a list of patterns in .gitattributes which are marked as lockable

()

Source from the content-addressed store, hash-verified

16// GetLockablePatterns returns a list of patterns in .gitattributes which are
17// marked as lockable
18func (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
24func (c *Client) getLockableFilter() *filepathfilter.Filter {

Callers 4

postMergeCommandFunction · 0.80
postCheckoutCommandFunction · 0.80
postCommitCommandFunction · 0.80

Calls 1

ensureLockablesLoadedMethod · 0.95

Tested by

no test coverage detected