1ed5e5d600
Fix migration failing to create data dir
2025-04-28 12:48:39 +02:00
4b11b4ce62
Move module definitions after imports
...
The style guide says: "Put imports before module declarations."
See https://doc.rust-lang.org/style-guide/items.html
Cargo also does this automatically.
2025-04-28 01:45:14 +02:00
97d79f5747
Rename methods for clarity
...
Path resolving methods now start with "path".
2025-04-28 01:38:04 +02:00
69f36de2d3
Migrate to rust edition 2024
2025-02-21 12:54:47 +01:00
cc74779e5d
Fix compilation error on windows
...
I was using unix-specific APIs.
2025-02-20 12:10:11 +01:00
4909aa0a29
Don't migrate existing data dir without version number
...
If there is a directory but no version number, we have no idea what's
going on. If we continue the migration, we might overwrite or break some
other program's data.
2025-02-20 01:46:42 +01:00
9d2d1fa3c1
Add migrate cli command
2025-02-19 14:00:25 +01:00
909399b276
Implement basic data directory operations
2025-02-19 14:00:18 +01:00
58cd4d7517
Add RepoId
2025-02-17 22:48:49 +01:00
3855d86730
Move ids from gdn-app to gdn
2025-02-17 22:37:59 +01:00
c80325ea40
Locate data dir on Linux and Windows
2025-01-25 12:04:18 +01:00