allan2 / dotenvy

A well-maintained fork of the dotenv crate
MIT License
664 stars 40 forks source link

Documentation does not explain difference between `from_filename` and `from_path` #53

Closed LeoniePhiline closed 4 days ago

LeoniePhiline commented 1 year ago

... which is the recursive search up the file tree for a matching filename.

allan2 commented 4 months ago

At first glance, I was also confused by from_filename and from_path. In addition to docs, this could benefit from renaming (#101).

allan2 commented 4 days ago

from_filename is now deprecated. This was to prevent directory traversal attacks.

There is a find example for those who wish to search for the matching filename up the tree.