UseCase-Shortcuts - Selected Common UsesCases

For a complete list refer to [UseCases].

Manage Search Paths

UseCase [doc/source]
Create and use a search lists createAndUseSearchLists
Create and use a search lists from glob createAndUseSearchListsFromGlob
Add and remove entries addAndRemoveEntries
Normalize search path lists normalizeSearchPathLists

Search for Files, Directories, and Branches

UseCase [doc/source]
Search bottom up searchBottomUp
Search top down searchTopDown
Search side branch for a hook point searchHookPointForSideBranch
Search side branch for a hook segment searchHookSliceForSideBranch
Compare hook for points and slices searchHookDifferencesOfPointsAndSlices
Iterate a search path list iterateSearchList
Search by literal(L) search.InUpperTree.by_literal
Search by glob(G) search.InUpperTree.by_glob
Search by regexpr(R) search.InUpperTree.by_regexpr
Search by mixed literal+regexpr+glob (LRG) search.InUpperTree.by_LRG

Match on Path Strings

UseCase [doc/source]
Map side branch for a hook point searchHookPointForSideBranchStr
Map side branch for a hook segment searchHookSliceForSideBranchStr
Compare mapping of hook for points and slices searchHookDifferencesOfPointsAndSlicesStr
Iterate the elements of a search path string iteratePathElements

Patterns for Library Functions

UseCase [doc/source]
Adds an entry to a plist addPathToSearchPath
Finds a hook for a relative path in plist findRelPathInSearchPath
Iterates over all possible matches findRelPathInSearchPathIter
Finds the topmost hook within a segment of the directory tree getTopFromPathString
Iterates over all possible matches getTopFromPathStringIter
Create a plist for a segment of the directory tree setUpperTreeSearchPath

Project Applications

UseCase [doc/source]
Unit tests with shared and inherited test dummies https://pypi.python.org/pypi/epyunit

The list is going to be extended when more are published.