]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
wget: Add localpaths method which gives localpath with history
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 8 Dec 2014 21:22:26 +0000 (21:22 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 Jan 2015 09:51:55 +0000 (09:51 +0000)
commitea5efeac5c1f7986666c979f789786f29fc1619a
tree55746a81f7ac52321b9df42a43e80550c6458946
parent461aa73fff0ab616032d28c4fd0322eb88838be6
wget: Add localpaths method which gives localpath with history

In some cases for cache purpoes we not only need to know which file
is going to be used but also which paths were considered. Add a
localpaths method which includes the history.

The core which() funciton already supports this, this just extends
the function to preserve the extra data we need. localpath becomes
just a special case of the case with history.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/fetch2/local.py