Commit 3b29c24
authored
fix: preserve RemoteTemporaryFile type when working with remote storage (#4290)
* fix: preserve `RemoteTemporaryFile` type when working with remote storage
- Added optional parameter to `RemoteTemporaryFile::sync()` allowing directory creation without content copying
- Modified `Writer` to use `RemoteTemporaryFile::sync(false)` instead of creating a new `LocalTemporaryFile`
- Prevents type change from `RemoteTemporaryFile` to `LocalTemporaryFile` while ensuring local directory structure exists for writing
* chore: Remove unused import1 parent 910bc3b commit 3b29c24
2 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
177 | 176 | | |
178 | 177 | | |
179 | 178 | | |
180 | | - | |
181 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
0 commit comments