View | Details | Raw Unified | Return to bug 118203
Collapse All | Expand All

(-)beagled/FileSystemQueryable/FileNameFilter.cs (+6 lines)
Lines 250-255 namespace Beagle.Daemon.FileSystemQuerya Link Here
250
				if (exclude.IsMatch (name))
250
				if (exclude.IsMatch (name))
251
					return true;
251
					return true;
252
			
252
			
253
			if (parent == null) {
254
				if (Debug)
255
					Logger.Log.Debug ("*** Parent is null (name={0}, is_directory={1}", name, is_directory);
256
				return false;
257
			}
258
253
			// This is kind of a hack, but if parent.Parent is null, we need to pass
259
			// This is kind of a hack, but if parent.Parent is null, we need to pass
254
			// the full path of the directory as second argument to Ignore to allow
260
			// the full path of the directory as second argument to Ignore to allow
255
			// us to do the root check.
261
			// us to do the root check.

Return to bug 118203