pathwatcher
Advanced tools
Comparing version 4.4.3 to 4.4.4
114
api.json
@@ -6,3 +6,3 @@ { | ||
"filename": "src/directory.coffee", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/directory.coffee#L14", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L14", | ||
"sections": [ | ||
@@ -35,3 +35,3 @@ { | ||
"sectionName": "Construction", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/directory.coffee#L27", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L27", | ||
"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/v4.4.3/src/directory.coffee#L51", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L51", | ||
"visibility": "Public", | ||
@@ -75,3 +75,3 @@ "summary": "Creates the directory on disk that corresponds to `::getPath()` if\nno such directory already exists.", | ||
"sectionName": "Event Subscription", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/directory.coffee#L73", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L73", | ||
"visibility": "Public", | ||
@@ -98,3 +98,3 @@ "summary": "Invoke the given callback when the directory's contents change.", | ||
"sectionName": "Directory Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/directory.coffee#L95", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L95", | ||
"visibility": "Public", | ||
@@ -113,3 +113,3 @@ "summary": "", | ||
"sectionName": "Directory Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/directory.coffee#L98", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L98", | ||
"visibility": "Public", | ||
@@ -126,5 +126,19 @@ "summary": "", | ||
{ | ||
"name": "isSymbolicLink", | ||
"sectionName": "Directory Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L101", | ||
"visibility": "Public", | ||
"summary": "", | ||
"description": "", | ||
"returnValues": [ | ||
{ | ||
"type": "Boolean", | ||
"description": "Returns a {Boolean} indicating whether or not this is a symbolic link" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "exists", | ||
"sectionName": "Directory Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/directory.coffee#L102", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L106", | ||
"visibility": "Public", | ||
@@ -143,3 +157,3 @@ "summary": "", | ||
"sectionName": "Directory Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/directory.coffee#L107", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L111", | ||
"visibility": "Public", | ||
@@ -158,3 +172,3 @@ "summary": "", | ||
"sectionName": "Directory Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/directory.coffee#L112", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L116", | ||
"visibility": "Public", | ||
@@ -167,3 +181,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/v4.4.3/src/directory.coffee#L123", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L127", | ||
"visibility": "Public", | ||
@@ -182,3 +196,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/directory.coffee#L129", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L133", | ||
"visibility": "Public", | ||
@@ -197,3 +211,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/directory.coffee#L140", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L144", | ||
"visibility": "Public", | ||
@@ -212,3 +226,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/directory.coffee#L145", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L149", | ||
"visibility": "Public", | ||
@@ -227,3 +241,3 @@ "summary": "", | ||
"sectionName": "Traversing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/directory.coffee#L202", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L206", | ||
"visibility": "Public", | ||
@@ -242,3 +256,3 @@ "summary": "Traverse to the parent directory.", | ||
"sectionName": "Traversing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/directory.coffee#L211", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L215", | ||
"visibility": "Public", | ||
@@ -265,3 +279,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/v4.4.3/src/directory.coffee#L221", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L225", | ||
"visibility": "Public", | ||
@@ -288,3 +302,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/v4.4.3/src/directory.coffee#L227", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L231", | ||
"visibility": "Public", | ||
@@ -303,3 +317,3 @@ "summary": "Reads file entries in this directory from disk synchronously.", | ||
"sectionName": "Traversing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/directory.coffee#L248", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L252", | ||
"visibility": "Public", | ||
@@ -334,3 +348,3 @@ "summary": "Reads file entries in this directory from disk asynchronously.", | ||
"sectionName": "Traversing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/directory.coffee#L279", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L283", | ||
"visibility": "Public", | ||
@@ -364,3 +378,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/v4.4.3/src/file.coffee#L19", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L19", | ||
"sections": [ | ||
@@ -397,3 +411,3 @@ { | ||
"sectionName": "Construction", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/file.coffee#L32", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L32", | ||
"visibility": "Public", | ||
@@ -420,3 +434,3 @@ "summary": "Configures a new File instance, no files are accessed.", | ||
"sectionName": "Construction", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/file.coffee#L54", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L54", | ||
"visibility": "Public", | ||
@@ -435,3 +449,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/v4.4.3/src/file.coffee#L72", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L72", | ||
"visibility": "Public", | ||
@@ -458,3 +472,3 @@ "summary": "Invoke the given callback when the file's contents change.", | ||
"sectionName": "Event Subscription", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/file.coffee#L81", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L81", | ||
"visibility": "Public", | ||
@@ -481,3 +495,3 @@ "summary": "Invoke the given callback when the file's path changes.", | ||
"sectionName": "Event Subscription", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/file.coffee#L90", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L90", | ||
"visibility": "Public", | ||
@@ -504,3 +518,3 @@ "summary": "Invoke the given callback when the file is deleted.", | ||
"sectionName": "Event Subscription", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/file.coffee#L103", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L103", | ||
"visibility": "Public", | ||
@@ -543,3 +557,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/v4.4.3/src/file.coffee#L125", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L125", | ||
"visibility": "Public", | ||
@@ -558,3 +572,3 @@ "summary": "", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/file.coffee#L128", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L128", | ||
"visibility": "Public", | ||
@@ -571,5 +585,19 @@ "summary": "", | ||
{ | ||
"name": "isSymbolicLink", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L131", | ||
"visibility": "Public", | ||
"summary": "", | ||
"description": "", | ||
"returnValues": [ | ||
{ | ||
"type": "Boolean", | ||
"description": "Returns a {Boolean} indicating whether or not this is a symbolic link" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "exists", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/file.coffee#L132", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L136", | ||
"visibility": "Public", | ||
@@ -588,3 +616,3 @@ "summary": "", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/file.coffee#L137", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L141", | ||
"visibility": "Public", | ||
@@ -603,3 +631,3 @@ "summary": "", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/file.coffee#L143", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L147", | ||
"visibility": "Public", | ||
@@ -618,3 +646,3 @@ "summary": "Get the SHA-1 digest of this file", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/file.coffee#L152", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L156", | ||
"visibility": "Public", | ||
@@ -633,3 +661,3 @@ "summary": "Get the SHA-1 digest of this file", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/file.coffee#L162", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L166", | ||
"visibility": "Public", | ||
@@ -650,3 +678,3 @@ "summary": "Sets the file's character set encoding name.", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/file.coffee#L173", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L177", | ||
"visibility": "Public", | ||
@@ -665,3 +693,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/file.coffee#L180", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L184", | ||
"visibility": "Public", | ||
@@ -680,3 +708,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/file.coffee#L187", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L191", | ||
"visibility": "Public", | ||
@@ -695,3 +723,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/file.coffee#L196", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L200", | ||
"visibility": "Public", | ||
@@ -710,3 +738,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/file.coffee#L204", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L208", | ||
"visibility": "Public", | ||
@@ -719,3 +747,3 @@ "summary": "Return the {String} filename without any directory information. ", | ||
"sectionName": "Traversing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/file.coffee#L212", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L216", | ||
"visibility": "Public", | ||
@@ -728,3 +756,3 @@ "summary": "Return the {Directory} that contains this file. ", | ||
"sectionName": "Reading and Writing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/file.coffee#L248", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L252", | ||
"visibility": "Public", | ||
@@ -744,3 +772,3 @@ "summary": "Reads the contents of the file.", | ||
"type": null, | ||
"description": "Returns a promise that resovles to a String." | ||
"description": "Returns a promise that resolves to a String." | ||
} | ||
@@ -752,3 +780,3 @@ ] | ||
"sectionName": "Reading and Writing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/file.coffee#L286", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L290", | ||
"visibility": "Public", | ||
@@ -775,3 +803,3 @@ "summary": "Overwrites the file with the given text.", | ||
"sectionName": "Reading and Writing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.3/src/file.coffee#L298", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L302", | ||
"visibility": "Public", | ||
@@ -778,0 +806,0 @@ "summary": "Overwrites the file with the given text.", |
@@ -129,2 +129,6 @@ (function() { | ||
Directory.prototype.isSymbolicLink = function() { | ||
return this.symlink; | ||
}; | ||
Directory.prototype.exists = function() { | ||
@@ -131,0 +135,0 @@ return Q.Promise((function(_this) { |
@@ -139,2 +139,6 @@ (function() { | ||
File.prototype.isSymbolicLink = function() { | ||
return this.symlink; | ||
}; | ||
File.prototype.exists = function() { | ||
@@ -141,0 +145,0 @@ return Q.Promise((function(_this) { |
@@ -5,3 +5,3 @@ { | ||
"description": "Watch files and directories for changes", | ||
"version": "4.4.3", | ||
"version": "4.4.4", | ||
"licenses": [ | ||
@@ -8,0 +8,0 @@ { |
93536
1749