Add starts_with function.
authorMatthijs Kooijman <matthijs@stdin.nl>
Wed, 7 Jan 2009 20:56:18 +0000 (21:56 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Wed, 7 Jan 2009 20:56:18 +0000 (21:56 +0100)
commitac915b2a77c0bcbcacc8b07042c7d3d2eeebb79a
treebfec836dfe9c73d571807dfa17b86d2ad19a24d0
parent9341c146cc103ab8a4d24fac699f1b88acd563ad
Add starts_with function.

This function compares two strings (paths) and checks if the first
starts with the second (the first path lies within the second).
lib/tools.in