/** * Only remove the specified files from the index. * * @param cached * {@code true} if files should only be removed from index, * {@code false} if files should also be deleted from the working * directory * @return {@code this} * @since 2.2 */ public RmCommand setCached(boolean cached) { checkCallable(); this.cached = cached; return this; }
/** * Add file name pattern of files to be removed * * @param filepattern * repository-relative path of file to remove (with * <code>/</code> as separator) * @return {@code this} */ public RmCommand addFilepattern(String filepattern) { checkCallable(); filepatterns.add(filepattern); return this; }
/** * Only remove the specified files from the index. * * @param cached * {@code true} if files should only be removed from index, * {@code false} if files should also be deleted from the working * directory * @return {@code this} * @since 2.2 */ public RmCommand setCached(boolean cached) { checkCallable(); this.cached = cached; return this; }
/** * Only remove the specified files from the index. * * @param cached * true if files should only be removed from index, false if * files should also be deleted from the working directory * @return {@code this} * @since 2.2 */ public RmCommand setCached(boolean cached) { checkCallable(); this.cached = cached; return this; }
/** * @param filepattern * repository-relative path of file to remove (with * <code>/</code> as separator) * @return {@code this} */ public RmCommand addFilepattern(String filepattern) { checkCallable(); filepatterns.add(filepattern); return this; }
checkCallable(); DirCache dc = null;
/** * Add file name pattern of files to be removed * * @param filepattern * repository-relative path of file to remove (with * <code>/</code> as separator) * @return {@code this} */ public RmCommand addFilepattern(String filepattern) { checkCallable(); filepatterns.add(filepattern); return this; }
checkCallable(); DirCache dc = null;
checkCallable(); DirCache dc = null;