Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/libgit2/pygit2
/ nattrs
Method
nattrs
pygit2/filter.py:69–70 ·
view source on GitHub ↗
(cls)
Source
from the content-addressed store, hash-verified
67
68
@classmethod
69
def
nattrs(cls) -> int:
70
return
len(cls.attributes.split())
71
72
def
check(self, src: FilterSource, attr_values: list[str | None]) -> None:
73
""
"
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected