{"comment":{"url":"https://api.github.com/repos/openframeworks/openFrameworks/comments/13943682","html_url":"https://github.com/openframeworks/openFrameworks/commit/a97e10dc55e9bebd3917a195def108e4bbcf22b8#commitcomment-13943682","id":13943682,"user":{"login":"ofTheo","id":144000,"avatar_url":"https://avatars.githubusercontent.com/u/144000?v=3","gravatar_id":"","url":"https://api.github.com/users/ofTheo","html_url":"https://github.com/ofTheo","followers_url":"https://api.github.com/users/ofTheo/followers","following_url":"https://api.github.com/users/ofTheo/following{/other_user}","gists_url":"https://api.github.com/users/ofTheo/gists{/gist_id}","starred_url":"https://api.github.com/users/ofTheo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ofTheo/subscriptions","organizations_url":"https://api.github.com/users/ofTheo/orgs","repos_url":"https://api.github.com/users/ofTheo/repos","events_url":"https://api.github.com/users/ofTheo/events{/privacy}","received_events_url":"https://api.github.com/users/ofTheo/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"a97e10dc55e9bebd3917a195def108e4bbcf22b8","created_at":"2015-10-23T05:24:54Z","updated_at":"2015-10-23T05:24:54Z","body":"Hey @arturoc \r\n\r\nshouldn't the behavior be that if the inputed string has a trailing slash the output string has a trailing slash?\r\n\r\nie: \r\n\r\n```\r\nofToDataPath(\"movies\", true);\r\n```\r\n\r\nShould give you an absolute path with no trailing slash. \r\nWhere as:\r\n\r\n```\r\nofToDataPath(\"movies/\", true);\r\n```\r\n\r\nWould give you an absolute path with a trailing slash on the end?\r\n\r\nIt looks like from this commit that it always gives a trailing slash if its a directory regardless of the input format. It also looks like if the path is not absolute the trailing slash is not added in the same way. So it ends up being a little inconsistent. \r\n\r\nLet me know what you think, happy to do a PR to address this. \r\n\r\n\r\n"}}