diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-10-18 19:34:29 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-10-18 19:55:12 +0800 |
commit | 7186e142b8ea546d98dc8ddb630da47362be8b0a (patch) | |
tree | fe387b3fe8600a88435b99047604f267a334e098 /libdevcore/CommonIO.h | |
parent | f67d34e4ec379aeed3ee2c05227a228c748b4d9d (diff) | |
download | dexon-solidity-7186e142b8ea546d98dc8ddb630da47362be8b0a.tar dexon-solidity-7186e142b8ea546d98dc8ddb630da47362be8b0a.tar.gz dexon-solidity-7186e142b8ea546d98dc8ddb630da47362be8b0a.tar.bz2 dexon-solidity-7186e142b8ea546d98dc8ddb630da47362be8b0a.tar.lz dexon-solidity-7186e142b8ea546d98dc8ddb630da47362be8b0a.tar.xz dexon-solidity-7186e142b8ea546d98dc8ddb630da47362be8b0a.tar.zst dexon-solidity-7186e142b8ea546d98dc8ddb630da47362be8b0a.zip |
Rename contentsString to readFileAsString
Diffstat (limited to 'libdevcore/CommonIO.h')
-rw-r--r-- | libdevcore/CommonIO.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdevcore/CommonIO.h b/libdevcore/CommonIO.h index d84362cf..0c702818 100644 --- a/libdevcore/CommonIO.h +++ b/libdevcore/CommonIO.h @@ -32,7 +32,7 @@ namespace dev /// Retrieve and returns the contents of the given file as a std::string. /// If the file doesn't exist or isn't readable, returns an empty container / bytes. -std::string contentsString(std::string const& _file); +std::string readFileAsString(std::string const& _file); /// Write the given binary data into the given file, replacing the file if it pre-exists. /// Throws exception on error. |