File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -128,15 +128,15 @@ def create_clangd_directory():
128128 """
129129 创建.clamd文件夹并写入.gitignore文件
130130 """
131- clangd_dir = os .path .join ('.' , '.clangd ' )
131+ cache_dir = os .path .join ('.' , '.cache ' )
132132 try :
133- os .makedirs (clangd_dir , exist_ok = True )
134- gitignore_path = os .path .join (clangd_dir , '.gitignore' )
133+ os .makedirs (cache_dir , exist_ok = True )
134+ gitignore_path = os .path .join (cache_dir , '.gitignore' )
135135 with open (gitignore_path , 'w' , encoding = 'utf-8' ) as f :
136136 f .write ('*' )
137- print ("Successfully created .clangd directory and .gitignore file" )
137+ print ("Successfully created .cache directory and .gitignore file" )
138138 except Exception as e :
139- print (f"Failed to create .clangd directory or .gitignore file: { e } " )
139+ print (f"Failed to create .cache directory or .gitignore file: { e } " )
140140
141141
142142def get_clangd_query_driver ():
You can’t perform that action at this time.
0 commit comments