{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ng-cordova/issues/518","labels_url":"https://api.github.com/repos/driftyco/ng-cordova/issues/518/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ng-cordova/issues/518/comments","events_url":"https://api.github.com/repos/driftyco/ng-cordova/issues/518/events","html_url":"https://github.com/driftyco/ng-cordova/issues/518","id":52569015,"number":518,"title":"replace attribute in File plugin","user":{"login":"cfjedimaster","id":393660,"avatar_url":"https://avatars.githubusercontent.com/u/393660?v=3","gravatar_id":"","url":"https://api.github.com/users/cfjedimaster","html_url":"https://github.com/cfjedimaster","followers_url":"https://api.github.com/users/cfjedimaster/followers","following_url":"https://api.github.com/users/cfjedimaster/following{/other_user}","gists_url":"https://api.github.com/users/cfjedimaster/gists{/gist_id}","starred_url":"https://api.github.com/users/cfjedimaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfjedimaster/subscriptions","organizations_url":"https://api.github.com/users/cfjedimaster/orgs","repos_url":"https://api.github.com/users/cfjedimaster/repos","events_url":"https://api.github.com/users/cfjedimaster/events{/privacy}","received_events_url":"https://api.github.com/users/cfjedimaster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-20T16:38:17Z","updated_at":"2015-08-02T00:26:38Z","closed_at":null,"body":"The file plugin has a \"replace\" attribute when creating folders and files. This does not match with the documentation for the fileSystem, which supports an optional create=true value which will create the dir/file *if* if needs to. If \"replace\" is meant to be the same, the implication is something different. To me, I want to open a folder and create if it doesn't exist, but \"replace\" to me means, \"hey, if it is already there, kill it\", which is bad probably. \r\n\r\nIf replace does not mean \"get rid of it if exists\", then attribute should be renamed to make it more clear."},"comment":{"url":"https://api.github.com/repos/driftyco/ng-cordova/issues/comments/126966105","html_url":"https://github.com/driftyco/ng-cordova/issues/518#issuecomment-126966105","issue_url":"https://api.github.com/repos/driftyco/ng-cordova/issues/518","id":126966105,"user":{"login":"gortok","id":699891,"avatar_url":"https://avatars.githubusercontent.com/u/699891?v=3","gravatar_id":"","url":"https://api.github.com/users/gortok","html_url":"https://github.com/gortok","followers_url":"https://api.github.com/users/gortok/followers","following_url":"https://api.github.com/users/gortok/following{/other_user}","gists_url":"https://api.github.com/users/gortok/gists{/gist_id}","starred_url":"https://api.github.com/users/gortok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gortok/subscriptions","organizations_url":"https://api.github.com/users/gortok/orgs","repos_url":"https://api.github.com/users/gortok/repos","events_url":"https://api.github.com/users/gortok/events{/privacy}","received_events_url":"https://api.github.com/users/gortok/received_events","type":"User","site_admin":false},"created_at":"2015-08-02T00:26:38Z","updated_at":"2015-08-02T00:26:38Z","body":"Do you have any suggestions for naming?"}}