{"comment":{"url":"https://api.github.com/repos/NuGet/NuGet.Client/comments/17472908","html_url":"https://github.com/NuGet/NuGet.Client/commit/11e5ba35c1880f18099ce22f7ef0c2b2b65cab0b#commitcomment-17472908","id":17472908,"user":{"login":"ericstj","id":8918108,"avatar_url":"https://avatars.githubusercontent.com/u/8918108?v=3","gravatar_id":"","url":"https://api.github.com/users/ericstj","html_url":"https://github.com/ericstj","followers_url":"https://api.github.com/users/ericstj/followers","following_url":"https://api.github.com/users/ericstj/following{/other_user}","gists_url":"https://api.github.com/users/ericstj/gists{/gist_id}","starred_url":"https://api.github.com/users/ericstj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericstj/subscriptions","organizations_url":"https://api.github.com/users/ericstj/orgs","repos_url":"https://api.github.com/users/ericstj/repos","events_url":"https://api.github.com/users/ericstj/events{/privacy}","received_events_url":"https://api.github.com/users/ericstj/received_events","type":"User","site_admin":false},"position":424,"line":424,"path":"src/NuGet.Core/NuGet.Protocol.Core.v3/HttpSource/HttpSource.cs","commit_id":"11e5ba35c1880f18099ce22f7ef0c2b2b65cab0b","created_at":"2016-05-13T20:18:02Z","updated_at":"2016-05-13T20:18:02Z","body":"A technique folks commonly use to avoid pending delete state (deleted file with open handle) is to first rename the old file to a random name before deleting it.  If you have permission to delete you also have permission to rename.  This is what both MSI and Fusion do when replacing files."}}