Skip to content

Commit

Permalink
module files: discover files in symlinked folders (#152)
Browse files Browse the repository at this point in the history
Discover files in symlinked folders
  • Loading branch information
sshane authored Jun 12, 2024
1 parent cfb43d6 commit 4e93d50
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ Authors
* Kevin Amado - https://github.com/kamadorueda
* Matthew Gamble - https://github.com/mwgamble
* NetworkX developers - The shortest path algorithm was adapted from the NetworkX library https://networkx.org/.
* Peter Byfield - https://github.com/Peter554
* Peter Byfield - https://github.com/Peter554
* Shane Smiskol - https://github.com/sshane
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ latest

* Include wheel for Python 3.13.0-beta.1 in release.
* Upgrade PyO3 to 0.21.
* Follow symbolic links while walking through module files

3.2 (2024-1-8)
--------------
Expand Down
2 changes: 1 addition & 1 deletion src/grimp/adaptors/filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def dirname(self, filename: str) -> str:
return os.path.dirname(filename)

def walk(self, directory_name: str) -> Iterator[Tuple[str, List[str], List[str]]]:
yield from os.walk(directory_name)
yield from os.walk(directory_name, followlinks=True)

def join(self, *components: str) -> str:
return os.path.join(*components)
Expand Down

0 comments on commit 4e93d50

Please sign in to comment.