mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
settings: { ignorePattern: /regexp/ }
This commit is contained in:
@@ -14,7 +14,8 @@ module.exports =
|
||||
class Project extends Resource
|
||||
window.resourceTypes.push this
|
||||
|
||||
ignorePattern: /(\.git|\.xcodeproj|\.DS_Store)$/
|
||||
settings:
|
||||
ignorePattern: /(\.git|\.xcodeproj|\.DS_Store)$/
|
||||
|
||||
html:
|
||||
$ '<div></div>'
|
||||
@@ -75,4 +76,4 @@ class Project extends Resource
|
||||
child.match "^" + parent
|
||||
|
||||
urls: (root=@url) ->
|
||||
_.reject (fs.list root), (url) => @ignorePattern.test url
|
||||
_.reject (fs.list root), (url) => @settings.ignorePattern.test url
|
||||
|
||||
Reference in New Issue
Block a user