dotenvy icon indicating copy to clipboard operation
dotenvy copied to clipboard

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

Open LeoniePhiline opened this issue 3 years ago • 1 comments

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

LeoniePhiline avatar Dec 11 '22 19:12 LeoniePhiline

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

allan2 avatar Apr 18 '24 22:04 allan2

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.

allan2 avatar Sep 04 '24 05:09 allan2