Skip to content

Conversation

iLeeWell
Copy link

Fix error of quitting in the middle of gtags generating. #319

@smemsh
Copy link

smemsh commented Jun 4, 2024

@iLeeWell if I'm reading this correctly, it removes all zero-byte files in the directory where the db is located:

let files = split(globpath(l:db_path, '*'), '\n')
for file in files
    let file_size = getfsize(file)
    if file_size == 0
        try | call delete(file) | endtry
    endif
endfor

is this not dangerous for people that are not using g:gutentags_cache_dir ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants