summaryrefslogtreecommitdiff
path: root/morphlib/gitdir_tests.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2014-07-07 13:12:00 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2014-07-07 13:12:00 +0000
commitdc16450fa37c715a81b61213ade807734b404914 (patch)
tree3bdbf24e5503a620c4d0224fe5d07ec28392acae /morphlib/gitdir_tests.py
parent09b6d77a5eea0594965b27d1697fa2fed2ec3b39 (diff)
downloadmorph-dc16450fa37c715a81b61213ade807734b404914.tar.gz
Make MorphologyFinder use file paths
We want to use file paths to locate morphologies now, so the old model of get a list of names and hand it those back to get the contents doesn't really make sense any more. This abstraction initially came about as one idea I had for moving morphologies out of the source tree was to put them in something like git notes, where it's possible to look up information for one commit in another ref in the repository, at which point this abstraction would have been flexible enough to handle that as well as in the However, moving the chunk morphologies into the definitions repository has other benefits too, so it makes more sense to be honest about using filenames in the API. It remains as a single point where we can put the logic for knowing which files in a repository look like morphologies, but if we need to remove any further functionality, it should be replaced by a single function.
Diffstat (limited to 'morphlib/gitdir_tests.py')
0 files changed, 0 insertions, 0 deletions