regolith/storage.py
def copydocs(store, path, rc):
    """Copies files to the staging area."""
    for doc in rc.documents:
        dst = os.path.join(path, os.path.split(doc)[1])
        if not rc.force and os.path.isfile(dst):
            raise RuntimeError(dst + ' already exists!')
        shutil.copy2(doc, dst)
Copies files to the staging area.
Copies files to the staging area.
Copies files to the staging area .
def copydocs(store, path, rc):
    for doc in rc.documents:
        dst = os.path.join(path, os.path.split(doc)[1])
        if not rc.force and os.path.isfile(dst):
            raise RuntimeError(dst + ' already exists!')
        shutil.copy2(doc, dst)
def copydocs ( store , path , rc ) : for doc in rc . documents : dst = os . path . join ( path , os . path . split ( doc ) [ 1 ] ) if not rc . force and os . path . isfile ( dst ) : raise RuntimeError ( dst + ' already exists!' ) shutil . copy2 ( doc , dst )
Copies files to the staging area.
Copies files to the staging area .
"""Copies files to the staging area."""
store
path
rc