On a headless Linux or BSD system (no DISPLAY or WAYLAND_DISPLAY) nothing empties the freedesktop trash, so trashing never freed space. There, d now deletes permanently after an explicit confirmation, checking owner and type against the scan and removing through an os.Root on the parent so a swapped symlink cannot redirect it. o shows the folder in the map instead of launching a file manager. Desktop sessions, macOS and Windows are unchanged.
12 lines
263 B
Go
12 lines
263 B
Go
// Package brand isolates the product name so it can be changed in one place.
|
|
package brand
|
|
|
|
const (
|
|
Name = "mapsize"
|
|
SnapshotExt = ".msz"
|
|
SnapshotMagic = "MAPSIZE\x00"
|
|
)
|
|
|
|
// Version is stamped at release time via -ldflags -X.
|
|
var Version = "1.2.0"
|