pathwatcher
Advanced tools
Comparing version 6.0.0 to 6.1.0
98
api.json
@@ -6,3 +6,3 @@ { | ||
"filename": "src/directory.coffee", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/directory.coffee#L13", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/directory.coffee#L13", | ||
"sections": [ | ||
@@ -35,3 +35,3 @@ { | ||
"sectionName": "Construction", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/directory.coffee#L26", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/directory.coffee#L26", | ||
"visibility": "Public", | ||
@@ -58,3 +58,3 @@ "summary": "Configures a new Directory instance, no files are accessed.", | ||
"sectionName": "Construction", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/directory.coffee#L50", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/directory.coffee#L51", | ||
"visibility": "Public", | ||
@@ -66,6 +66,12 @@ "summary": "Creates the directory on disk that corresponds to `::getPath()` if\nno such directory already exists.", | ||
"name": "mode", | ||
"description": "Optional {Number} that defaults to `0777`. Returns a {Promise} that resolves once the directory is created on disk. It resolves to a boolean value that is true if the directory was created or false if it already existed. ", | ||
"description": "{Number} that defaults to `0777`.", | ||
"type": "Number", | ||
"isOptional": false | ||
"isOptional": true | ||
} | ||
], | ||
"returnValues": [ | ||
{ | ||
"type": "Promise", | ||
"description": "Returns a {Promise} that resolves once the directory is created on disk. It\nresolves to a boolean value that is true if the directory was created or\nfalse if it already existed." | ||
} | ||
] | ||
@@ -76,3 +82,3 @@ }, | ||
"sectionName": "Event Subscription", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/directory.coffee#L72", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/directory.coffee#L73", | ||
"visibility": "Public", | ||
@@ -99,3 +105,3 @@ "summary": "Invoke the given callback when the directory's contents change.", | ||
"sectionName": "Directory Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/directory.coffee#L94", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/directory.coffee#L95", | ||
"visibility": "Public", | ||
@@ -114,3 +120,3 @@ "summary": "", | ||
"sectionName": "Directory Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/directory.coffee#L97", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/directory.coffee#L98", | ||
"visibility": "Public", | ||
@@ -129,3 +135,3 @@ "summary": "", | ||
"sectionName": "Directory Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/directory.coffee#L100", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/directory.coffee#L101", | ||
"visibility": "Public", | ||
@@ -144,3 +150,3 @@ "summary": "", | ||
"sectionName": "Directory Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/directory.coffee#L105", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/directory.coffee#L106", | ||
"visibility": "Public", | ||
@@ -159,3 +165,3 @@ "summary": "", | ||
"sectionName": "Directory Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/directory.coffee#L109", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/directory.coffee#L110", | ||
"visibility": "Public", | ||
@@ -174,3 +180,3 @@ "summary": "", | ||
"sectionName": "Directory Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/directory.coffee#L114", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/directory.coffee#L115", | ||
"visibility": "Public", | ||
@@ -183,3 +189,3 @@ "summary": "Return a {Boolean}, true if this {Directory} is the root directory\nof the filesystem, or false if it isn't. ", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/directory.coffee#L125", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/directory.coffee#L126", | ||
"visibility": "Public", | ||
@@ -198,3 +204,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/directory.coffee#L131", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/directory.coffee#L132", | ||
"visibility": "Public", | ||
@@ -213,3 +219,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/directory.coffee#L142", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/directory.coffee#L143", | ||
"visibility": "Public", | ||
@@ -228,3 +234,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/directory.coffee#L147", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/directory.coffee#L148", | ||
"visibility": "Public", | ||
@@ -243,3 +249,3 @@ "summary": "", | ||
"sectionName": "Traversing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/directory.coffee#L204", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/directory.coffee#L205", | ||
"visibility": "Public", | ||
@@ -258,3 +264,3 @@ "summary": "Traverse to the parent directory.", | ||
"sectionName": "Traversing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/directory.coffee#L213", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/directory.coffee#L214", | ||
"visibility": "Public", | ||
@@ -281,3 +287,3 @@ "summary": "Traverse within this Directory to a child File. This method doesn't\nactually check to see if the File exists, it just creates the File object.", | ||
"sectionName": "Traversing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/directory.coffee#L223", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/directory.coffee#L224", | ||
"visibility": "Public", | ||
@@ -304,3 +310,3 @@ "summary": "Traverse within this a Directory to a child Directory. This method\ndoesn't actually check to see if the Directory exists, it just creates the\nDirectory object.", | ||
"sectionName": "Traversing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/directory.coffee#L229", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/directory.coffee#L230", | ||
"visibility": "Public", | ||
@@ -319,3 +325,3 @@ "summary": "Reads file entries in this directory from disk synchronously.", | ||
"sectionName": "Traversing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/directory.coffee#L250", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/directory.coffee#L251", | ||
"visibility": "Public", | ||
@@ -350,3 +356,3 @@ "summary": "Reads file entries in this directory from disk asynchronously.", | ||
"sectionName": "Traversing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/directory.coffee#L281", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/directory.coffee#L282", | ||
"visibility": "Public", | ||
@@ -380,3 +386,3 @@ "summary": "Determines if the given path (real or symbolic) is inside this\ndirectory. This method does not actually check if the path exists, it just\nchecks if the path is under this directory.", | ||
"filename": "src/file.coffee", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/file.coffee#L18", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/file.coffee#L18", | ||
"sections": [ | ||
@@ -413,3 +419,3 @@ { | ||
"sectionName": "Construction", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/file.coffee#L31", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/file.coffee#L31", | ||
"visibility": "Public", | ||
@@ -436,3 +442,3 @@ "summary": "Configures a new File instance, no files are accessed.", | ||
"sectionName": "Construction", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/file.coffee#L53", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/file.coffee#L53", | ||
"visibility": "Public", | ||
@@ -451,3 +457,3 @@ "summary": "Creates the file on disk that corresponds to `::getPath()` if no\nsuch file already exists.", | ||
"sectionName": "Event Subscription", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/file.coffee#L71", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/file.coffee#L71", | ||
"visibility": "Public", | ||
@@ -474,3 +480,3 @@ "summary": "Invoke the given callback when the file's contents change.", | ||
"sectionName": "Event Subscription", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/file.coffee#L80", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/file.coffee#L80", | ||
"visibility": "Public", | ||
@@ -497,3 +503,3 @@ "summary": "Invoke the given callback when the file's path changes.", | ||
"sectionName": "Event Subscription", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/file.coffee#L89", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/file.coffee#L89", | ||
"visibility": "Public", | ||
@@ -520,3 +526,3 @@ "summary": "Invoke the given callback when the file is deleted.", | ||
"sectionName": "Event Subscription", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/file.coffee#L102", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/file.coffee#L102", | ||
"visibility": "Public", | ||
@@ -559,3 +565,3 @@ "summary": "Invoke the given callback when there is an error with the watch.\nWhen your callback has been invoked, the file will have unsubscribed from\nthe file watches.", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/file.coffee#L124", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/file.coffee#L124", | ||
"visibility": "Public", | ||
@@ -574,3 +580,3 @@ "summary": "", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/file.coffee#L127", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/file.coffee#L127", | ||
"visibility": "Public", | ||
@@ -589,3 +595,3 @@ "summary": "", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/file.coffee#L130", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/file.coffee#L130", | ||
"visibility": "Public", | ||
@@ -604,3 +610,3 @@ "summary": "", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/file.coffee#L135", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/file.coffee#L135", | ||
"visibility": "Public", | ||
@@ -619,3 +625,3 @@ "summary": "", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/file.coffee#L140", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/file.coffee#L140", | ||
"visibility": "Public", | ||
@@ -634,3 +640,3 @@ "summary": "", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/file.coffee#L146", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/file.coffee#L146", | ||
"visibility": "Public", | ||
@@ -649,3 +655,3 @@ "summary": "Get the SHA-1 digest of this file", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/file.coffee#L155", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/file.coffee#L155", | ||
"visibility": "Public", | ||
@@ -664,3 +670,3 @@ "summary": "Get the SHA-1 digest of this file", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/file.coffee#L165", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/file.coffee#L165", | ||
"visibility": "Public", | ||
@@ -681,3 +687,3 @@ "summary": "Sets the file's character set encoding name.", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/file.coffee#L176", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/file.coffee#L176", | ||
"visibility": "Public", | ||
@@ -696,3 +702,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/file.coffee#L183", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/file.coffee#L183", | ||
"visibility": "Public", | ||
@@ -711,3 +717,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/file.coffee#L190", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/file.coffee#L190", | ||
"visibility": "Public", | ||
@@ -726,3 +732,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/file.coffee#L199", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/file.coffee#L199", | ||
"visibility": "Public", | ||
@@ -741,3 +747,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/file.coffee#L211", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/file.coffee#L211", | ||
"visibility": "Public", | ||
@@ -750,3 +756,3 @@ "summary": "Return the {String} filename without any directory information. ", | ||
"sectionName": "Traversing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/file.coffee#L219", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/file.coffee#L219", | ||
"visibility": "Public", | ||
@@ -759,3 +765,3 @@ "summary": "Return the {Directory} that contains this file. ", | ||
"sectionName": "Reading and Writing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/file.coffee#L255", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/file.coffee#L255", | ||
"visibility": "Public", | ||
@@ -782,3 +788,3 @@ "summary": "Reads the contents of the file.", | ||
"sectionName": "Reading and Writing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/file.coffee#L289", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/file.coffee#L289", | ||
"visibility": "Public", | ||
@@ -805,3 +811,3 @@ "summary": "Overwrites the file with the given text.", | ||
"sectionName": "Reading and Writing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.0.0/src/file.coffee#L301", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v6.1.0/src/file.coffee#L301", | ||
"visibility": "Public", | ||
@@ -808,0 +814,0 @@ "summary": "Overwrites the file with the given text.", |
@@ -5,3 +5,3 @@ { | ||
"description": "Watch files and directories for changes", | ||
"version": "6.0.0", | ||
"version": "6.1.0", | ||
"licenses": [ | ||
@@ -8,0 +8,0 @@ { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
94803
1777