{"action":"created","issue":{"url":"https://api.github.com/repos/dlang/phobos/issues/6417","repository_url":"https://api.github.com/repos/dlang/phobos","labels_url":"https://api.github.com/repos/dlang/phobos/issues/6417/labels{/name}","comments_url":"https://api.github.com/repos/dlang/phobos/issues/6417/comments","events_url":"https://api.github.com/repos/dlang/phobos/issues/6417/events","html_url":"https://github.com/dlang/phobos/pull/6417","id":311054585,"number":6417,"title":"Add move/moveFile","user":{"login":"marler8997","id":304904,"avatar_url":"https://avatars1.githubusercontent.com/u/304904?v=4","gravatar_id":"","url":"https://api.github.com/users/marler8997","html_url":"https://github.com/marler8997","followers_url":"https://api.github.com/users/marler8997/followers","following_url":"https://api.github.com/users/marler8997/following{/other_user}","gists_url":"https://api.github.com/users/marler8997/gists{/gist_id}","starred_url":"https://api.github.com/users/marler8997/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marler8997/subscriptions","organizations_url":"https://api.github.com/users/marler8997/orgs","repos_url":"https://api.github.com/users/marler8997/repos","events_url":"https://api.github.com/users/marler8997/events{/privacy}","received_events_url":"https://api.github.com/users/marler8997/received_events","type":"User","site_admin":false},"labels":[{"id":416188102,"url":"https://api.github.com/repos/dlang/phobos/labels/Bug%20Fix","name":"Bug Fix","color":"0052cc","default":false},{"id":415595086,"url":"https://api.github.com/repos/dlang/phobos/labels/WIP","name":"WIP","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-04-04T01:34:20Z","updated_at":"2018-05-02T13:25:14Z","closed_at":"2018-05-02T13:07:46Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/dlang/phobos/pulls/6417","html_url":"https://github.com/dlang/phobos/pull/6417","diff_url":"https://github.com/dlang/phobos/pull/6417.diff","patch_url":"https://github.com/dlang/phobos/pull/6417.patch"},"body":"> TODO: going to change this PR to add new `move` and `moveFile` functions (no need to review at this time)"},"comment":{"url":"https://api.github.com/repos/dlang/phobos/issues/comments/385976420","html_url":"https://github.com/dlang/phobos/pull/6417#issuecomment-385976420","issue_url":"https://api.github.com/repos/dlang/phobos/issues/6417","id":385976420,"user":{"login":"CyberShadow","id":160894,"avatar_url":"https://avatars0.githubusercontent.com/u/160894?v=4","gravatar_id":"","url":"https://api.github.com/users/CyberShadow","html_url":"https://github.com/CyberShadow","followers_url":"https://api.github.com/users/CyberShadow/followers","following_url":"https://api.github.com/users/CyberShadow/following{/other_user}","gists_url":"https://api.github.com/users/CyberShadow/gists{/gist_id}","starred_url":"https://api.github.com/users/CyberShadow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CyberShadow/subscriptions","organizations_url":"https://api.github.com/users/CyberShadow/orgs","repos_url":"https://api.github.com/users/CyberShadow/repos","events_url":"https://api.github.com/users/CyberShadow/events{/privacy}","received_events_url":"https://api.github.com/users/CyberShadow/received_events","type":"User","site_admin":false},"created_at":"2018-05-02T13:25:14Z","updated_at":"2018-05-02T13:25:14Z","author_association":"OWNER","body":"What is the use case for this?\r\n\r\nThis function is useful if you are writing a generic file manager tool or a D reimplementation of coreutils, when you don't know where the source and destination might be. But if you are writing a program that knows what files it's operating with, then you probably also know where they are located on the filesystem, and already know whether you need to rename or copy+delete.\r\n\r\nI can imagine that this could be useful in a situation where e.g. a program needs to move some data in or out of a cache, where the cache might or might not be on another filesystem, but this invariably brings up questions like what to do with directories, symlinks, timestamps, extended file attributes, etc. etc. that it's better to leave the user to address these concerns explicitly in their program."}}
{"actor":{"display_login":"CyberShadow"}}