001package co.codewizards.cloudstore.core.ignore;
002
003import co.codewizards.cloudstore.core.oio.File;
004
005public interface IgnoreRuleManager {
006
007        /**
008         * Determines, whether the given {@code file} is ignored.
009         * @param file a file . Must not be <code>null</code>.
010         * @return <code>true</code>, if the file is ignored, i.e. the non-qualified {@code fileName}
011         * matches an ignore-rule. <code>false</code> otherwise.
012         */
013        boolean isIgnored(File file);
014
015}