{"push_id":1129034732,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"6a6efad5faf702f61820268cca8726a83bc6a9d2","before":"1f4f1754c167b85071454438537425752a5dc2bf","commits":[{"sha":"6a6efad5faf702f61820268cca8726a83bc6a9d2","author":{"email":"efd6533d67e4f5f7475374599c7a04a50dab6989@fb.com","name":"Adam Simpkins"},"message":"add Cursor::peekBytes()\n\nSummary:\nThe existing Cursor::peek() method pre-dates the existence of folly::ByteRange,\nand so it returns a std::pair containing a pointer and length.  This is usually\nmore awkward to use than ByteRange.\n\nThis adds a peekBytes() method that returns a ByteRange object, and updates all\nusers of peek() in folly to use peekBytes() instead.  Eventually I think we\nshould add a FOLLY_DEPRECATED attribute to peek().  I will wait to add this tag\nuntil after converting a few other projects to use peekBytes(), though.\n\nReviewed By: alandau\n\nDifferential Revision: D3337302\n\nfbshipit-source-id: 14220a059d915bf5adc66b8b283f7228b796a4dc","distinct":true,"url":"https://api.github.com/repos/facebook/folly/commits/6a6efad5faf702f61820268cca8726a83bc6a9d2"}]}
{"actor":{"display_login":"facebook-github-bot-0"}}