Monday, November 08, 2010 at 12:05 AM.

on folderNeedsScan (folder) {
		<<7/25/03; 1:19:10 PM by JES
			<<Fixed a bug which could cause an infinite loop if there are file tables in whose path doesn't begin with the upstream folder path.
		<<3/28/03; 4:49:58 PM by JES
			<<Created. Call this verb with the path to a folder which needs to be scanned for upstreaming on the next pass.
	local (lowerUpstreamFolder = string.lower (;
	if not (string.lower (folder) beginswith lowerUpstreamFolder) {
		return (false)};
	local (yesterday = date.yesterday ( ()));
	loop {
		if defined ([folder].upstream) {[folder].upstream.whenLastScanned = yesterday};
		folder = file.folderFromPath (folder);
		if string.lower (folder) == lowerUpstreamFolder {
		if folder == "" { //reality check

This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.