Files
heartwood/radicle-node/src
Fintan Halpenny 8e26e4c046 radicle: canonicalize home path
If a path was passed to `Home` in non-canonical form it would not use
the right path for any initialisation or use.

The aim is to use the `canonicalize` function for paths. However, this
may return an error if none of the paths exist. To ensure that the
path exists the `new` constructor for `Home` creates the directory and
canonicalizes the path.

Since `new` now initialises the home directory, it would be useful if
it also initialised all the necessary subdirectories -- which removes
the need for the `init` method.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2023-02-16 16:35:59 +01:00
..
2023-02-15 22:05:04 +01:00
2023-02-16 15:10:31 +01:00
2023-02-16 16:35:59 +01:00
2023-02-15 22:08:20 +01:00
2023-02-16 15:10:31 +01:00
2022-10-18 12:37:01 +02:00
2022-12-04 20:40:54 +01:00
2023-02-04 19:30:29 +01:00
2023-02-15 22:05:04 +01:00
2023-02-16 15:10:31 +01:00
2023-02-07 10:46:12 +01:00
2023-02-16 15:10:31 +01:00
2023-01-18 17:45:46 +01:00
2023-02-15 22:08:20 +01:00