Commit f296f9f
Fix
In dynamic folder mode, the display name of an uploaded raw file does not
include the extension (`notes`), but the public ID does
(`abc123.txt`). `_display_path` used the display name as is, so:
- `sync --push` did not match local `notes.txt` with the remote asset
and uploaded it again on every run;
- `sync --pull` saved the file as `notes`, with no extension.
For raw assets, add the public ID extension to the display name when the
display name does not already end with it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>sync for raw files whose display name has no extension1 parent 4e38035 commit f296f9f
2 files changed
Lines changed: 28 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
128 | 134 | | |
129 | 135 | | |
130 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
14 | 34 | | |
15 | 35 | | |
16 | 36 | | |
| |||
0 commit comments