Files
spacedrive/packages/interface
Jamie Pine c40989cb93 Put the home folder in the library, and give the gesture a name
"Track this folder as a source" is our vocabulary, not a person's, and it
cannot answer what they get for doing it. Everything on the drive is already
searchable before anyone chooses anything. What the library adds is the part a
walk cannot rebuild: tags and notes that stay put, files still listed when the
drive is unplugged, sync to another device.

So the gesture is Add to Library, on a directory, in the explorer context menu.
Photos, Music and Lightroom all landed on the same word because people already
have it, and Spacedrive has libraries too.

Home goes in on the first library open, because it is the answer almost
everyone would give if asked which folder that should be, and asking is worse
than doing it. Once only: any registered source means the person has made their
own arrangements, so one removed on purpose does not come back next launch.

Anchoring needed fixing first. volume_for_path is a prefix test, and
/Users/me is not under /System/Volumes/Data, so tracking home would have
dropped the anchor and started a second map of files the drive already holds.
locate_path returns the volume and the path as that volume spells it, deciding
it by inode rather than by a platform table, and track_and_index takes the
volume's spelling over the caller's.
2026-08-27 19:23:45 -07:00
..
2025-11-14 21:31:21 -08:00
2026-08-21 13:47:42 -07:00