Skip to content

Commit 06a470d

Browse files
authored
Adds a new command spatial-tree index (#475)
* Adds a new command `spatial-tree index` Command only works if pywraps2 is manually installed into the kart venv. Although tests exist, they are currently skipped for this reason. (Not trying to modify the kart build while it is red) * Address PR comments on spatial-tree command
1 parent b33d7f2 commit 06a470d

File tree

4 files changed

+560
-0
lines changed

4 files changed

+560
-0
lines changed

kart/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"pull": {"pull"},
3737
"resolve": {"resolve"},
3838
"show": {"create-patch", "show"},
39+
"spatial_tree": {"spatial-tree"},
3940
"status": {"status"},
4041
"query": {"query"},
4142
"upgrade": {"upgrade", "upgrade-to-tidy", "upgrade-to-kart"},

kart/repo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ class KartRepoFiles:
4747
# Kart-specific files:
4848
MERGE_INDEX = "MERGE_INDEX"
4949
MERGE_BRANCH = "MERGE_BRANCH"
50+
S2_INDEX = "s2_index.db"
5051

5152

5253
class KartRepoState(Enum):

0 commit comments

Comments
 (0)