captureNonManaged = (items, managedSet) => {
			/** @type {Set<string>} */
			const capturedItems = new Set();
			for (const path of items) {
				if (!checkManaged(path, managedSet)) capturedItems.add(path);
			}
			return capturedItems;
		}
@param {Iterable<string>} items items
@param {Set<string>} managedSet managed set
@returns {Set<string>} result