mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 07:18:27 +01:00
state: merge state and link state
Fixes #1091 Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
@@ -106,7 +106,6 @@ class Project(object):
|
||||
|
||||
def _ignore(self):
|
||||
flist = [self.state.state_file,
|
||||
self.link_state.state_file,
|
||||
self.lock.lock_file,
|
||||
self.config.config_local_file,
|
||||
self.updater.updater_file]
|
||||
|
||||
@@ -14,7 +14,6 @@ class StateDuplicateError(DvcException):
|
||||
|
||||
class State(object):
|
||||
STATE_FILE = 'state'
|
||||
STATE_LOCK_FILE = 'state.lock'
|
||||
STATE_TABLE = 'state'
|
||||
STATE_TABLE_LAYOUT = "inode TEXT PRIMARY KEY, " \
|
||||
"mtime TEXT NOT NULL, " \
|
||||
@@ -166,8 +165,6 @@ class State(object):
|
||||
|
||||
|
||||
class LinkState(State):
|
||||
STATE_FILE = 'link.state'
|
||||
STATE_LOCK_FILE = STATE_FILE + '.lock'
|
||||
STATE_TABLE = 'link'
|
||||
STATE_TABLE_LAYOUT = "path TEXT PRIMARY KEY, " \
|
||||
"inode TEXT NOT NULL, " \
|
||||
|
||||
Reference in New Issue
Block a user