savePath: state the live-photo caveat in content.ts and TODO.md
check / check (push) Successful in 1m47s
check / check (push) Successful in 1m47s
The comment on ContentCache.savePath, a new comment on PhotoContent.savePath, and the TODO.md entry now say that for a live photo not yet stored, savePath carries the title's extension, and the backup may store the image under a different one. Model: opus-5-5
This commit is contained in:
@@ -27,12 +27,13 @@ declares one.
|
||||
|
||||
- 2026-10-01: A `Photo` has `savePath`, `isLocal`, `content()`, `exif()`,
|
||||
`modifiedAt`, `hash` and `year` (issue 141). `savePath` is where
|
||||
`lib.backup()` writes the original under the library's download directory, and
|
||||
`isLocal` says whether the whole original is there; both look only at the
|
||||
disk. `content()` returns the original's bytes and `exif()` the common EXIF
|
||||
fields of a JPEG; both may download the original, and `exif()` downloads no
|
||||
video. `PhotoRecord` gains `modifiedAt` and `hash`, and the JPEG EXIF scan
|
||||
moved to `src/exif.ts`.
|
||||
`lib.backup()` writes the original under the library's download directory; for
|
||||
a live photo not yet stored, it carries the title's extension, and the backup
|
||||
may store the image under a different one. `isLocal` says whether the whole
|
||||
original is there. Both look only at the disk. `content()` returns the
|
||||
original's bytes and `exif()` the common EXIF fields of a JPEG; both may
|
||||
download the original, and `exif()` downloads no video. `PhotoRecord` gains
|
||||
`modifiedAt` and `hash`, and the JPEG EXIF scan moved to `src/exif.ts`.
|
||||
|
||||
- 2026-09-29: The "Workflow" list at the top of this file now says to branch
|
||||
from `next` and open a pull request that targets `next`, that the repository
|
||||
|
||||
Reference in New Issue
Block a user