{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/vso-task-lib/pulls/comments/46759914","id":46759914,"diff_hunk":"@@ -219,6 +219,17 @@ export function getEndpointAuthorization(id: string, optional: boolean): Endpoin\n }\n \n //-----------------------------------------------------\n+// Fs Helpers\n+//-----------------------------------------------------\n+export interface FsStats extends fs.Stats {\n+    \n+}\n+\n+export function stats(path: string): FsStats {\n+    return fs.statSync(path);","path":"node/lib/vsotask.ts","position":23,"original_position":23,"commit_id":"e7a4e7ef621b80591f00fb8f879b31df719b4bbb","original_commit_id":"e7a4e7ef621b80591f00fb8f879b31df719b4bbb","user":{"login":"bryanmacfarlane","id":919564,"avatar_url":"https://avatars.githubusercontent.com/u/919564?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanmacfarlane","html_url":"https://github.com/bryanmacfarlane","followers_url":"https://api.github.com/users/bryanmacfarlane/followers","following_url":"https://api.github.com/users/bryanmacfarlane/following{/other_user}","gists_url":"https://api.github.com/users/bryanmacfarlane/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanmacfarlane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanmacfarlane/subscriptions","organizations_url":"https://api.github.com/users/bryanmacfarlane/orgs","repos_url":"https://api.github.com/users/bryanmacfarlane/repos","events_url":"https://api.github.com/users/bryanmacfarlane/events{/privacy}","received_events_url":"https://api.github.com/users/bryanmacfarlane/received_events","type":"User","site_admin":false},"body":"Add debug writes here.  debug the input.  debug write the properties and isDirectory, file and symbolic link.  Play around with debug accepting object or string and if object, it prints the directory properties if string, number ... ??  Thoughts","created_at":"2015-12-05T16:16:27Z","updated_at":"2015-12-05T16:16:27Z","html_url":"https://github.com/Microsoft/vso-task-lib/pull/12#discussion_r46759914","pull_request_url":"https://api.github.com/repos/Microsoft/vso-task-lib/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/vso-task-lib/pulls/comments/46759914"},"html":{"href":"https://github.com/Microsoft/vso-task-lib/pull/12#discussion_r46759914"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/vso-task-lib/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/vso-task-lib/pulls/12","id":52680346,"html_url":"https://github.com/Microsoft/vso-task-lib/pull/12","diff_url":"https://github.com/Microsoft/vso-task-lib/pull/12.diff","patch_url":"https://github.com/Microsoft/vso-task-lib/pull/12.patch","issue_url":"https://api.github.com/repos/Microsoft/vso-task-lib/issues/12","number":12,"state":"open","locked":false,"title":"Users/drewta/delete files task lib","user":{"login":"drewtabor","id":15802368,"avatar_url":"https://avatars.githubusercontent.com/u/15802368?v=3","gravatar_id":"","url":"https://api.github.com/users/drewtabor","html_url":"https://github.com/drewtabor","followers_url":"https://api.github.com/users/drewtabor/followers","following_url":"https://api.github.com/users/drewtabor/following{/other_user}","gists_url":"https://api.github.com/users/drewtabor/gists{/gist_id}","starred_url":"https://api.github.com/users/drewtabor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drewtabor/subscriptions","organizations_url":"https://api.github.com/users/drewtabor/orgs","repos_url":"https://api.github.com/users/drewtabor/repos","events_url":"https://api.github.com/users/drewtabor/events{/privacy}","received_events_url":"https://api.github.com/users/drewtabor/received_events","type":"User","site_admin":false},"body":"updating for delete files task, adding L0s for rmRF","created_at":"2015-12-04T15:12:23Z","updated_at":"2015-12-05T16:16:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"67eb0c6c06904b134cff3614a78029d75e613645","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/vso-task-lib/pulls/12/commits","review_comments_url":"https://api.github.com/repos/Microsoft/vso-task-lib/pulls/12/comments","review_comment_url":"https://api.github.com/repos/Microsoft/vso-task-lib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/vso-task-lib/issues/12/comments","statuses_url":"https://api.github.com/repos/Microsoft/vso-task-lib/statuses/e7a4e7ef621b80591f00fb8f879b31df719b4bbb","head":{"label":"Microsoft:users/drewta/deleteFilesTaskLib","ref":"users/drewta/deleteFilesTaskLib","sha":"e7a4e7ef621b80591f00fb8f879b31df719b4bbb","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":38649294,"name":"vso-task-lib","full_name":"Microsoft/vso-task-lib","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/vso-task-lib","description":"Libraries for writing VSO and TFS build tasks","fork":false,"url":"https://api.github.com/repos/Microsoft/vso-task-lib","forks_url":"https://api.github.com/repos/Microsoft/vso-task-lib/forks","keys_url":"https://api.github.com/repos/Microsoft/vso-task-lib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/vso-task-lib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/vso-task-lib/teams","hooks_url":"https://api.github.com/repos/Microsoft/vso-task-lib/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/vso-task-lib/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/vso-task-lib/events","assignees_url":"https://api.github.com/repos/Microsoft/vso-task-lib/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/vso-task-lib/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/vso-task-lib/tags","blobs_url":"https://api.github.com/repos/Microsoft/vso-task-lib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/vso-task-lib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/vso-task-lib/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/vso-task-lib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/vso-task-lib/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/vso-task-lib/languages","stargazers_url":"https://api.github.com/repos/Microsoft/vso-task-lib/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/vso-task-lib/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/vso-task-lib/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/vso-task-lib/subscription","commits_url":"https://api.github.com/repos/Microsoft/vso-task-lib/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/vso-task-lib/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/vso-task-lib/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/vso-task-lib/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/vso-task-lib/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/vso-task-lib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/vso-task-lib/merges","archive_url":"https://api.github.com/repos/Microsoft/vso-task-lib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/vso-task-lib/downloads","issues_url":"https://api.github.com/repos/Microsoft/vso-task-lib/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/vso-task-lib/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/vso-task-lib/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/vso-task-lib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/vso-task-lib/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/vso-task-lib/releases{/id}","created_at":"2015-07-06T22:13:57Z","updated_at":"2015-11-25T19:07:33Z","pushed_at":"2015-12-04T22:53:19Z","git_url":"git://github.com/Microsoft/vso-task-lib.git","ssh_url":"git@github.com:Microsoft/vso-task-lib.git","clone_url":"https://github.com/Microsoft/vso-task-lib.git","svn_url":"https://github.com/Microsoft/vso-task-lib","homepage":null,"size":72,"stargazers_count":6,"watchers_count":6,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":6,"default_branch":"master"}},"base":{"label":"Microsoft:master","ref":"master","sha":"642b476b4d3e4f8f2ac4846f34e95e9a5f778e1d","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":38649294,"name":"vso-task-lib","full_name":"Microsoft/vso-task-lib","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/vso-task-lib","description":"Libraries for writing VSO and TFS build tasks","fork":false,"url":"https://api.github.com/repos/Microsoft/vso-task-lib","forks_url":"https://api.github.com/repos/Microsoft/vso-task-lib/forks","keys_url":"https://api.github.com/repos/Microsoft/vso-task-lib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/vso-task-lib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/vso-task-lib/teams","hooks_url":"https://api.github.com/repos/Microsoft/vso-task-lib/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/vso-task-lib/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/vso-task-lib/events","assignees_url":"https://api.github.com/repos/Microsoft/vso-task-lib/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/vso-task-lib/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/vso-task-lib/tags","blobs_url":"https://api.github.com/repos/Microsoft/vso-task-lib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/vso-task-lib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/vso-task-lib/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/vso-task-lib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/vso-task-lib/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/vso-task-lib/languages","stargazers_url":"https://api.github.com/repos/Microsoft/vso-task-lib/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/vso-task-lib/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/vso-task-lib/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/vso-task-lib/subscription","commits_url":"https://api.github.com/repos/Microsoft/vso-task-lib/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/vso-task-lib/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/vso-task-lib/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/vso-task-lib/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/vso-task-lib/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/vso-task-lib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/vso-task-lib/merges","archive_url":"https://api.github.com/repos/Microsoft/vso-task-lib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/vso-task-lib/downloads","issues_url":"https://api.github.com/repos/Microsoft/vso-task-lib/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/vso-task-lib/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/vso-task-lib/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/vso-task-lib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/vso-task-lib/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/vso-task-lib/releases{/id}","created_at":"2015-07-06T22:13:57Z","updated_at":"2015-11-25T19:07:33Z","pushed_at":"2015-12-04T22:53:19Z","git_url":"git://github.com/Microsoft/vso-task-lib.git","ssh_url":"git@github.com:Microsoft/vso-task-lib.git","clone_url":"https://github.com/Microsoft/vso-task-lib.git","svn_url":"https://github.com/Microsoft/vso-task-lib","homepage":null,"size":72,"stargazers_count":6,"watchers_count":6,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/vso-task-lib/pulls/12"},"html":{"href":"https://github.com/Microsoft/vso-task-lib/pull/12"},"issue":{"href":"https://api.github.com/repos/Microsoft/vso-task-lib/issues/12"},"comments":{"href":"https://api.github.com/repos/Microsoft/vso-task-lib/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/vso-task-lib/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/vso-task-lib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/vso-task-lib/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/vso-task-lib/statuses/e7a4e7ef621b80591f00fb8f879b31df719b4bbb"}}}}