]> git.neil.brown.name Git - lafs-utils.git/commit
Add 'remainder' arg to lafs_lookup_path
authorNeilBrown <neilb@suse.de>
Mon, 21 Mar 2011 06:39:29 +0000 (17:39 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 21 Mar 2011 06:39:29 +0000 (17:39 +1100)
commit302ccf616617f8f80d6d46e2140b8936c812e4a7
tree68d03dc88a47ffc88fe4e72f5e80d1d87c930fd1
parent8fc5cc8eea48e18af3afd289a472c4498619457b
Add 'remainder' arg to lafs_lookup_path

This allows us to find where to create something.

If 'remainder' is provided, the tail of the path that couldn't
be found is placed there, and the last directory that was found is
returned.

Signed-off-by: NeilBrown <neilb@suse.de>
include/lafs/lafs.h
lib/lafs_lookup_path.c
tools/lafs.c