Opened 6 years ago

Last modified 5 years ago

#19549 new enhancement

[RFC Patch] Don't store cached file information in preferences — at Version 1

Reported by: taylor.smock Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description (last modified by taylor.smock)

Since, as far as I know, JOSM Preferences never clears out old entries, it would be nice to avoid adding unnecessary entries.

The attached patch does the following:

  • Uses file metadata to get the age of the file
  • Adds an option to have files deleted on graceful exit (does not delete files if the exit is forced).

This is an RFC since (AFAIK) there are not commonly used file systems which do not store the modification time.

Change History (2)

by taylor.smock, 6 years ago

Attachment: 19549.patch added

Initial RFC patch

comment:1 by taylor.smock, 6 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.