because it's like thisensureCreateFolder : create the folder structure if necessaryensureCreateFile : create the file if necessaryI really don't see any gain from changing existing behavior and introducing potential problems.If I ask for file to be created, I don't expect that the system will suddenly start creating folders, that's a unintentional side effect.If you need it for your convenience, then it's dead-easy to implement without breaking existing stuff.On Thu, Apr 21, 2016 at 10:35 AM, Denis Kudriashov <dionisiydk@gmail.com> wrote:2016-04-21 9:55 GMT+02:00 Valentin Ryckewaert <valentin.ryckewaert@gmail.com>:Yes but why ensureCreateFile then ?Why don't we juste create a message createFile as there is createFolder ?createFolder : create the foldercreateFile : create the fileensureCreateFolder : create the folder and its parents if necessaryensureCreateFile : create the file and its parents if necessary
+1