OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 /** | 5 /** |
6 * @constructor | 6 * @constructor |
7 * @extends {WebInspector.Object} | 7 * @extends {WebInspector.Object} |
8 */ | 8 */ |
9 WebInspector.ExcludedFolderManager = function() | 9 WebInspector.ExcludedFolderManager = function() |
10 { | 10 { |
11 WebInspector.Object.call(this); | 11 WebInspector.Object.call(this); |
12 this._excludedFoldersSetting = WebInspector.settings.createSetting("workspac
eExcludedFolders", {}); | 12 this._excludedFoldersSetting = WebInspector.settings.createLocalSetting("wor
kspaceExcludedFolders", {}); |
13 var defaultCommonExcludedFolders = [ | 13 var defaultCommonExcludedFolders = [ |
14 "/\\.git/", | 14 "/\\.git/", |
15 "/\\.sass-cache/", | 15 "/\\.sass-cache/", |
16 "/\\.hg/", | 16 "/\\.hg/", |
17 "/\\.idea/", | 17 "/\\.idea/", |
18 "/\\.svn/", | 18 "/\\.svn/", |
19 "/\\.cache/", | 19 "/\\.cache/", |
20 "/\\.project/" | 20 "/\\.project/" |
21 ]; | 21 ]; |
22 var defaultWinExcludedFolders = [ | 22 var defaultWinExcludedFolders = [ |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 /** | 177 /** |
178 * @constructor | 178 * @constructor |
179 * @param {string} fileSystemPath | 179 * @param {string} fileSystemPath |
180 * @param {string} path | 180 * @param {string} path |
181 */ | 181 */ |
182 WebInspector.ExcludedFolderManager.Entry = function(fileSystemPath, path) | 182 WebInspector.ExcludedFolderManager.Entry = function(fileSystemPath, path) |
183 { | 183 { |
184 this.fileSystemPath = fileSystemPath; | 184 this.fileSystemPath = fileSystemPath; |
185 this.path = path; | 185 this.path = path; |
186 } | 186 } |
OLD | NEW |