MCPcopy Index your code
hub / github.com/app-dirs-rs/app_dirs2

github.com/app-dirs-rs/app_dirs2 @v2.5.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.5.5 ↗ · + Follow
33 symbols 87 edges 12 files 8 documented · 24% updated 22mo ago★ 372 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

app_dirs2

Put your app's data in the right place on every platform

crates.io:app_dirs2

This is the up-to-date version of app_dirs

The original app_dirs crate is deprecated and unmaintained. This is a drop-in-replacement fork that keeps the crate working and up-to-date.

This is a community-maintained project, so if you find a bug or the crate is missing support for your platform, please help out.

There are no major changes planned. If you're looking for a crate with more features, check out the directories crate.

Documentation & examples

https://docs.rs/app_dirs2

Installation

Add the following to your Cargo.toml under [dependencies]:

app_dirs = { package = "app_dirs2", version = "2.5" }

The syntax with package allows you to keep the old name in the code (use app_dirs::*), so you only need to change one line in Cargo.toml.

Core symbols most depended-on inside this repo

Shape

Function 23
Method 6
Class 2
Enum 2

Languages

Rust100%

Modules by API surface

src/common.rs7 symbols
src/imp/mod.rs6 symbols
tests/unix.rs4 symbols
src/imp/platform/windows.rs4 symbols
tests/fs.rs3 symbols
src/imp/platform/android.rs3 symbols
src/utils.rs1 symbols
src/lib.rs1 symbols
src/imp/platform/unknown.rs1 symbols
src/imp/platform/unix.rs1 symbols
src/imp/platform/macos.rs1 symbols
examples/android.rs1 symbols

For agents

$ claude mcp add app_dirs2 \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page