Add `mode` parameter to FileUtil.h writeFile
authorAndrew Krieger <andrew.krieger@oculus.com>
Wed, 28 Jun 2017 23:42:40 +0000 (16:42 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 28 Jun 2017 23:50:47 +0000 (16:50 -0700)
commit30d05890f3e876a7094444c50cf652aba5026662
treeb5db4f30dc3ea84a86810dc34ba32052851e6994
parent05ce52289b0ec8f525a92d6d1955301d0b77c0a7
Add `mode` parameter to FileUtil.h writeFile

Summary:
writeFileAtomic variants all have a mode, lets just hoist the mode parameter
up and use what was hardcoded as the default.

Reviewed By: Orvid

Differential Revision: D5341481

fbshipit-source-id: 6976915dd73d2382b42bd991782730601b918978
folly/FileUtil.h