Skip to content

A Scala library to test if a path (e.g., a filesystem path) is accepted by some inclusion/exclusion policy for a hierarchical namespace structure (such as a filesystem).

License

Notifications You must be signed in to change notification settings

haakonn/incluse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Incluse is a library to test if a candidate path is
covered/included/accepted by a given policy for inclusion and
exclusion in a hierarchical namespace system.

The most typical application is in filesystems: Your application
operates on files conforming to given rules for which files should be
considered and which should not. Think rsync. Incluse can do the
matching for you.

Incluse supports any combination of simple named nodes, wildcards that
match any single node, and recursive wildcards that non-greedily
matches multiple nodes.

Incluse is extensible in its format support. A sample format is
included for filesystem path policies.

About

A Scala library to test if a path (e.g., a filesystem path) is accepted by some inclusion/exclusion policy for a hierarchical namespace structure (such as a filesystem).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages