Skip to content

regfilesin fault #158

@skaller

Description

@skaller

in FileSystem there is a function like regfilesin that by contract scans all regular files in a directory tree and returns those whose pathname matches a given regexp. Whilst files not marked regular are correctly ignored symlinks to directories are processed. This can lead to an infinite loop. Symlinks to directories must be ignored too. This ensures termination provided hardlinks don't contain cycles. On some OS (MacOS and Linux I think) you cannot create a hard link to a directory, which ensures the graph is acyclic.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions