Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /Consiliency_treesitter-chunker /chunker /contracts /language_plugin_stub.py
| from tree_sitter import Node | |
| from .language_plugin_contract import ExtendedLanguagePluginContract | |
| class ExtendedLanguagePluginStub(ExtendedLanguagePluginContract): | |
| """Stub for language plugin testing""" | |
| def get_semantic_chunks(_node: Node, _source: bytes) -> list[dict[str, any]]: | |
| """Returns empty list""" | |
| return [] | |
| def get_chunk_node_types() -> set[str]: | |
| """Returns minimal set""" | |
| return {"function_definition"} | |
| def should_chunk_node(_node: Node) -> bool: | |
| """Always returns False""" | |
| return False | |
| def get_node_context(_node: Node, _source: bytes) -> str | None: | |
| """Returns None""" | |
| return None | |
Xet Storage Details
- Size:
- 756 Bytes
- Xet hash:
- 62fc6a7d9bb9400b77d0c115ffa855703d51e4b273b7987f829ea52c5bbb265f
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.