Lines Matching refs:path
59 let exepath = a:dict.tmpdir.'/'.fnamemodify(a:dict.path, ':t:r')
64 let relpath = get(a:dict, 'tmpdir_relpath', a:dict.path)
102 let relpath = get(a:dict, 'tmpdir_relpath', a:dict.path)
121 let basename = fnamemodify(a:dict.path, ':t:r')
163 let relpath = get(a:dict, 'tmpdir_relpath', a:dict.path)
190 let basename = fnamemodify(a:dict.path, ':t:r')
211 " 'path' - The path to the file
212 " 'tmpdir' - The path to a temporary directory that will be deleted when the
214 " 'istemp' - 1 if the path is a file inside of {dict.tmpdir} or 0 otherwise.
216 " 'tmpdir_relpath' - The {path} relative to the {tmpdir}.
218 " {dict.path} may be a path to a file inside of {dict.tmpdir} or it may be the
219 " existing path of the current buffer. If the path is inside of {dict.tmpdir}
228 let dict.path = expand('%')
229 let pathisempty = empty(dict.path)
244 let dict.path = dict.tmpdir.'/'.filename
249 silent exe 'keepalt write! ' . fnameescape(dict.path)
341 function! s:RmDir(path) argument
343 if empty(a:path)
344 echoerr 'Attempted to delete empty path'
346 elseif a:path == '/' || a:path == $HOME
347 echoerr 'Attempted to delete protected path: ' . a:path
350 return system("rm -rf " . shellescape(a:path))