Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/g/i/git-jekyll-preview-HEAD/jekyll.py   git-jekyll-preview(Download)
from os.path import join, exists
from logging import info, debug
from shutil import copyfile
 
from util import run_cmd, touch, is_fresh, locked_file
    hash_file = checkout_path + '.commit-hash'
 
    if exists(jekyll_path) and is_fresh(jekyll_path):
        return jekyll_path
 

src/g/i/git-jekyll-preview-HEAD/git.py   git-jekyll-preview(Download)
from os.path import join, exists, dirname
from os import getcwd, mkdir, environ
from logging import info, debug
 
from util import locked_file, is_fresh, touch, run_cmd
    checkout_lock = checkout_path + '.git-lock'
 
    if exists(checkout_path) and is_fresh(checkout_path):
        return checkout_path