File tree Expand file tree Collapse file tree 8 files changed +9
-8
lines changed Expand file tree Collapse file tree 8 files changed +9
-8
lines changed File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 6
6
import sys
7
7
import textwrap
8
8
9
+ import compdb .backend .json
9
10
import compdb .config
10
- import compdb .db .json
11
11
import compdb .complementer .headerdb
12
12
from compdb .__about__ import (__desc__ , __prog__ , __version__ )
13
13
from compdb import (filelist , utils )
14
- from compdb .db .json import JSONCompileCommandSerializer
14
+ from compdb .backend .json import JSONCompileCommandSerializer
15
15
from compdb .core import CompilationDatabase
16
16
17
17
@@ -71,7 +71,7 @@ def set_args(self, args):
71
71
self .args = args
72
72
73
73
def get_database_classes (self ):
74
- return [compdb .db .json .JSONCompilationDatabase ]
74
+ return [compdb .backend .json .JSONCompilationDatabase ]
75
75
76
76
def make_unpopulated_database (self ):
77
77
db = CompilationDatabase ()
Original file line number Diff line number Diff line change 3
3
import os
4
4
import re
5
5
6
- from compdb .db .memory import InMemoryCompilationDatabase
6
+ from compdb .backend .memory import InMemoryCompilationDatabase
7
7
from compdb .complementer import ComplementerInterface
8
8
from compdb .models import CompileCommand
9
9
Original file line number Diff line number Diff line change 6
6
import os
7
7
8
8
import compdb
9
+ from compdb .backend .json import (JSONCompilationDatabase ,
10
+ compile_commands_to_json )
11
+ from compdb .backend .memory import InMemoryCompilationDatabase
9
12
from compdb .models import (CompilationDatabaseInterface , ProbeError )
10
13
from compdb .utils import (suppress , re_fullmatch , empty_iterator_wrap )
11
- from compdb .db .json import (JSONCompilationDatabase , compile_commands_to_json )
12
- from compdb .db .memory import InMemoryCompilationDatabase
13
14
14
15
15
16
class ComplementerError (compdb .CompdbError ):
Original file line number Diff line number Diff line change 7
7
except ImportError :
8
8
from io import StringIO
9
9
10
- from compdb .db .json import (
10
+ from compdb .backend .json import (
11
11
command_to_json ,
12
12
compile_commands_to_json , )
13
13
from compdb .models import CompileCommand
Original file line number Diff line number Diff line change 6
6
import os
7
7
import unittest
8
8
9
- from compdb .db .memory import InMemoryCompilationDatabase
9
+ from compdb .backend .memory import InMemoryCompilationDatabase
10
10
from compdb .complementer .headerdb import (
11
11
Complementer ,
12
12
subword_split , )
You can’t perform that action at this time.
0 commit comments