Ejemplo n.º 1
0
 def __init__(self, vim, cwd, fs, prevcwd=None):
     self.vim = vim
     self.cwd = cwd
     self.fs = fs
     self.nodes = self.createNodes(cwd)
     self.nodes.insert(0, Node(self.cwd, self.vim.vars['NETRHiCWD']))
     self.initClineNo(prevcwd)
     self.nodes[self.clineNo].cursor_on()
     self.mtime = Shell.mtime(cwd)
Ejemplo n.º 2
0
 def is_dirty(self):
     return Shell.mtime(self.cwd) > self.mtime