<commit_before>/*******************************************************************************
 * Copyright (c) 2014 Codenvy, S.A.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *   Codenvy, S.A. - initial API and implementation
 *******************************************************************************/
package com.codenvy.flux.watcher.core.spi;

import java.nio.file.Path;

/**
 * @author <NAME>
 */
public interface RepositoryProvider {
    boolean addProject(String projectId, Path projectPath);

    boolean removeProject(String projectId);

    Resource getResource(String projectId, Path resourcePath);

    void createResource(Resource resource);

    void deleteResource(Resource resource);

    boolean addRepositoryListener(RepositoryListener listener);

    boolean removeRepositoryListener(RepositoryListener listener);
}
<commit_msg>Naming<commit_after>/*******************************************************************************
 * Copyright (c) 2014 Codenvy, S.A.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *   Codenvy, S.A. - initial API and implementation
 *******************************************************************************/
package com.codenvy.flux.watcher.core.spi;

import java.nio.file.Path;

/**
 * @author <NAME>
 */
public interface RepositoryProvider {
    boolean addProject(String projectId, Path path);

    boolean removeProject(String projectId);

    Resource getResource(String projectId, Path path);

    void createResource(Resource resource);

    void deleteResource(Resource resource);

    boolean addRepositoryListener(RepositoryListener listener);

    boolean removeRepositoryListener(RepositoryListener listener);
}

{'fraction_non_alphanumeric': 0.22274436090225563, 'fraction_numerical': 0.007518796992481203, 'mean_word_length': 5.317507418397626, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4269087', 'n_tokens_mistral': 526, 'n_tokens_neox': 479, 'n_words': 154}