get_dir 0.3.0

An utility to get directory
Documentation
# Get Dir

An utility to get directory.

This utility searches for a target directory by checking for any directories or files that match the provided input.

## Usage

Get directory by target with the following code:

```rust
use get_dir::{
    Target,
    TargetType,
    get_dir_by_target,
};

get_dir_by_target(Target { 
    name: "src", 
    ty: TargetType::Dir,
});
```

Or get directory by target in reverse with the following code:

```rust
use get_dir::{
    Target,
    TargetType,
    get_dir_by_target_reverse,
};

get_dir_by_target_reverse(Target {
    name: "LICENSE",
    ty: TargetType::File,
});
```

## License

This project is MIT licensed, you can find the license file [here](https://github.com/alpheustangs/get_dir.rs/blob/main/LICENSE).