mtga_resources_locator

Crates.iomtga_resources_locator
lib.rsmtga_resources_locator
version0.1.0
sourcesrc
created_at2020-07-03 14:29:34.175044
updated_at2020-07-03 14:29:34.175044
descriptionA little utility that returns the paths of MTGA logs and assets
homepagehttps://github.com/mtg-rust/mtga_resources_locator
repositoryhttps://github.com/mtg-rust/mtga_resources_locator
max_upload_size
id261030
size6,906
Michele Gargiulo (micku)

documentation

README

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

Commit count: 29

cargo fmt