#path #locator #assets #logs #resources #stored #mtga

mtga_resources_locator

A little utility that returns the paths of MTGA logs and assets

1 unstable release

0.1.0 Jul 3, 2020

#11 in #locator

MIT license

6KB
101 lines

MTGA Resources Locator

Utility that returns where MTGA data is stored.

Disclaimer: this project started as a way to learn Rust, so this IS full of bugs and anit-patterns and stupid code.

The library exposes two functions:

  • assets_data_dir(): returns the PathBuf relative to the folder where MTGA JSON files are stored;
  • logs_dir(): returns the PathBuf relative to the folder where logs are stored.

The method should work on both Windows and macOS. Actually only macOS has been tested.

TODO

Dependencies

~58–530KB