Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 235a740297612bb204a6dd5f48ed8a17df599cdf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*******************************************************************************
 * Copyright (c) 2011, 2012 Wind River Systems, Inc. and others. 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:
 * Wind River Systems - initial API and implementation
 * William Chen (Wind River)- [345552] Edit the remote files with a proper editor
 *******************************************************************************/
package org.eclipse.tcf.te.tcf.filesystem.core.model;

/**
 * The enumeration that defines the states of a file's local cache, including "consistent", "modified",
 * "outdated" and "conflict".
 */
public enum CacheState {
	consistent,	// Neither of the local file and the remote file has been changed since checking out.
	modified,	// The local file has changed while the remote file has not since checking out.
	outdated,	// The remote file has changed while the local file has not since checking out.
	conflict	// Both the local file and the remote file have changed since checking out.
}

Back to the top