OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library services.index.memory_file_index; | 5 library services.index.memory_file_index; |
6 | 6 |
7 import 'package:analysis_server/src/services/index/index.dart'; | 7 import 'package:analysis_server/src/services/index/index.dart'; |
8 import 'package:analysis_server/src/services/index/local_index.dart'; | 8 import 'package:analysis_server/src/services/index/local_index.dart'; |
9 import 'package:analysis_server/src/services/index/store/memory_node_manager.dar
t'; | 9 import 'package:analysis_server/src/services/index/store/memory_node_manager.dar
t'; |
10 | 10 |
11 | |
12 Index createLocalMemoryIndex() { | 11 Index createLocalMemoryIndex() { |
13 return new LocalIndex(new MemoryNodeManager()); | 12 return new LocalIndex(new MemoryNodeManager()); |
14 } | 13 } |
OLD | NEW |