kodit 0.1.8__py3-none-any.whl → 0.1.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of kodit might be problematic. Click here for more details.
- kodit/_version.py +2 -2
- kodit/sources/service.py +3 -3
- {kodit-0.1.8.dist-info → kodit-0.1.9.dist-info}/METADATA +1 -1
- {kodit-0.1.8.dist-info → kodit-0.1.9.dist-info}/RECORD +7 -7
- {kodit-0.1.8.dist-info → kodit-0.1.9.dist-info}/WHEEL +0 -0
- {kodit-0.1.8.dist-info → kodit-0.1.9.dist-info}/entry_points.txt +0 -0
- {kodit-0.1.8.dist-info → kodit-0.1.9.dist-info}/licenses/LICENSE +0 -0
kodit/_version.py
CHANGED
kodit/sources/service.py
CHANGED
|
@@ -126,13 +126,13 @@ class SourceService:
|
|
|
126
126
|
SourceAlreadyExistsError: If the folder is already added.
|
|
127
127
|
|
|
128
128
|
"""
|
|
129
|
+
# Resolve the directory to an absolute path
|
|
130
|
+
directory = directory.expanduser().resolve()
|
|
131
|
+
|
|
129
132
|
source = await self.repository.get_source_by_uri(directory.as_uri())
|
|
130
133
|
if source:
|
|
131
134
|
self.log.info("Source already exists, reusing...", source_id=source.id)
|
|
132
135
|
else:
|
|
133
|
-
# Resolve the directory to an absolute path
|
|
134
|
-
directory = directory.expanduser().resolve()
|
|
135
|
-
|
|
136
136
|
# Check if the folder exists
|
|
137
137
|
if not directory.exists():
|
|
138
138
|
msg = f"Folder does not exist: {directory}"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
kodit/.gitignore,sha256=ztkjgRwL9Uud1OEi36hGQeDGk3OLK1NfDEO8YqGYy8o,11
|
|
2
2
|
kodit/__init__.py,sha256=aEKHYninUq1yh6jaNfvJBYg-6fenpN132nJt1UU6Jxs,59
|
|
3
|
-
kodit/_version.py,sha256=
|
|
3
|
+
kodit/_version.py,sha256=bhntibG3PKk5Ai3XlSNEV8gj-ffItuKloY6vzWn6swo,511
|
|
4
4
|
kodit/app.py,sha256=Mr5BFHOHx5zppwjC4XPWVvHjwgl1yrKbUjTWXKubJQM,891
|
|
5
5
|
kodit/cli.py,sha256=bsfURvGKZzpHkChnTlatI0nXHV3KV_6vJnUJ2fQEAfM,6637
|
|
6
6
|
kodit/config.py,sha256=nlm9U-nVx5riH2SrU1XY4XcCMhQK4DrwO_1H8bPOBjA,2927
|
|
@@ -32,9 +32,9 @@ kodit/snippets/languages/python.scm,sha256=ee85R9PBzwye3IMTE7-iVoKWd_ViU3EJISTyr
|
|
|
32
32
|
kodit/sources/__init__.py,sha256=1NTZyPdjThVQpZO1Mp1ColVsS7sqYanOVLqnoqV9Ipo,83
|
|
33
33
|
kodit/sources/models.py,sha256=xb42CaNDO1CUB8SIW-xXMrB6Ji8cFw-yeJ550xBEg9Q,2398
|
|
34
34
|
kodit/sources/repository.py,sha256=mGJrHWH6Uo8YABdoojHFbzaf_jW-2ywJpAHIa1gnc3U,3401
|
|
35
|
-
kodit/sources/service.py,sha256=
|
|
36
|
-
kodit-0.1.
|
|
37
|
-
kodit-0.1.
|
|
38
|
-
kodit-0.1.
|
|
39
|
-
kodit-0.1.
|
|
40
|
-
kodit-0.1.
|
|
35
|
+
kodit/sources/service.py,sha256=hqAjGFVhvtePhMrK1Aprj__Mq2PLjVq8CsWMBoA3_Qw,9217
|
|
36
|
+
kodit-0.1.9.dist-info/METADATA,sha256=MAqVxrLPrTV3Ihcix_3YHQNq9qyuD1OEavYHV76qli8,2214
|
|
37
|
+
kodit-0.1.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
38
|
+
kodit-0.1.9.dist-info/entry_points.txt,sha256=hoTn-1aKyTItjnY91fnO-rV5uaWQLQ-Vi7V5et2IbHY,40
|
|
39
|
+
kodit-0.1.9.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
40
|
+
kodit-0.1.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|