Пример #1
0
def push():
    path = vim.current.buffer.name

    tp = utils.pathgettmp(path)
    if not tp: return

    get_proctol(tp).push(path, tp)
Пример #2
0
def pull(path):
    pt = get_proctol(path)
    if pt == libpathdisk:
        return path

    tf = utils.pathgettmp(path)
    if tf:
        return tf

    f = pt.pull(path, utils.mkstemp(path))
    if f:
        return f