resforge 0.4.1__tar.gz → 0.4.2__tar.gz
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.
- {resforge-0.4.1 → resforge-0.4.2}/PKG-INFO +1 -1
- {resforge-0.4.1 → resforge-0.4.2}/src/resforge/__init__.py +1 -1
- {resforge-0.4.1 → resforge-0.4.2}/src/resforge/apple/catalog.py +1 -1
- {resforge-0.4.1 → resforge-0.4.2}/src/resforge/io.py +1 -1
- resforge-0.4.2/tests/__init__.py +0 -0
- {resforge-0.4.1 → resforge-0.4.2}/.github/workflows/ci.yml +0 -0
- {resforge-0.4.1 → resforge-0.4.2}/.github/workflows/publish.yml +0 -0
- {resforge-0.4.1 → resforge-0.4.2}/.gitignore +0 -0
- {resforge-0.4.1 → resforge-0.4.2}/LICENSE +0 -0
- {resforge-0.4.1 → resforge-0.4.2}/README.md +0 -0
- {resforge-0.4.1 → resforge-0.4.2}/pyproject.toml +0 -0
- {resforge-0.4.1 → resforge-0.4.2}/src/resforge/_codegen/__init__.py +0 -0
- {resforge-0.4.1 → resforge-0.4.2}/src/resforge/_codegen/kotlin.py +0 -0
- {resforge-0.4.1 → resforge-0.4.2}/src/resforge/_utils.py +0 -0
- {resforge-0.4.1 → resforge-0.4.2}/src/resforge/android/__init__.py +0 -0
- {resforge-0.4.1 → resforge-0.4.2}/src/resforge/android/compose.py +0 -0
- {resforge-0.4.1 → resforge-0.4.2}/src/resforge/android/types.py +0 -0
- {resforge-0.4.1 → resforge-0.4.2}/src/resforge/android/values.py +0 -0
- {resforge-0.4.1 → resforge-0.4.2}/src/resforge/apple/__init__.py +0 -0
- {resforge-0.4.1 → resforge-0.4.2}/src/resforge/apple/_base.py +0 -0
- {resforge-0.4.1 → resforge-0.4.2}/src/resforge/apple/_colorset.py +0 -0
- {resforge-0.4.1 → resforge-0.4.2}/src/resforge/apple/types.py +0 -0
- {resforge-0.4.1 → resforge-0.4.2}/src/resforge/color.py +0 -0
- /resforge-0.4.1/tests/__init__.py → /resforge-0.4.2/src/resforge/py.typed +0 -0
- {resforge-0.4.1 → resforge-0.4.2}/tests/test_android_compose.py +0 -0
- {resforge-0.4.1 → resforge-0.4.2}/tests/test_android_values.py +0 -0
- {resforge-0.4.1 → resforge-0.4.2}/tests/test_apple_catalog.py +0 -0
- {resforge-0.4.1 → resforge-0.4.2}/tests/test_atomic_write.py +0 -0
- {resforge-0.4.1 → resforge-0.4.2}/tests/test_codegen_kotlin.py +0 -0
- {resforge-0.4.1 → resforge-0.4.2}/tests/test_color.py +0 -0
|
@@ -40,7 +40,7 @@ class AssetCatalog:
|
|
|
40
40
|
defaults to a standard file write.
|
|
41
41
|
"""
|
|
42
42
|
self._active = False
|
|
43
|
-
output_dir = Path(path)
|
|
43
|
+
output_dir = Path(path)
|
|
44
44
|
self._final_path = output_dir / f"{name}.xcassets"
|
|
45
45
|
self._sink = sink or FileSystemSink()
|
|
46
46
|
self._temp_path = (
|
|
@@ -10,7 +10,7 @@ __all__ = ["FileSystemSink", "MemorySink", "WriteSink", "atomic_write"]
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
@contextmanager
|
|
13
|
-
def atomic_write(target_path: Path) -> Generator[IO[bytes], None, None]:
|
|
13
|
+
def atomic_write(target_path: str | Path) -> Generator[IO[bytes], None, None]:
|
|
14
14
|
"""Yields a temporary file, then atomically replaces target_path on success.
|
|
15
15
|
|
|
16
16
|
Preserves file permissions of target_path, if target_path already exists.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|