chiark / gitweb /
path: refactor PathSpec usage
authorMichal Schmidt <mschmidt@redhat.com>
Sat, 3 Dec 2011 00:38:30 +0000 (01:38 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Sat, 3 Dec 2011 12:43:58 +0000 (13:43 +0100)
commit4b562198c79e4ebfc3d84b69a1dae374bc6cf9f5
tree2e36d9ef9013c87e8f0dcf68cb54c8b96f87a410
parent768147d13d0877a4c3e5f6f986c3064de62ff4f1
path: refactor PathSpec usage

path_*() functions operate on "Path *p" and they do not touch PathSpec
internals directly.

pathspec_*() functions operate on "PathSpec *s". The PathSpec class will
be useful outside of path.c.
src/path.c
src/path.h