{"push_id":2558340853,"size":5,"distinct_size":5,"ref":"refs/heads/async-io","head":"6a5ed38b9f9c0ae7b25d00de1c35617409633479","before":"632f62c9e6fa80d47dc1a8c8f01f5a0909c946ed","commits":[{"sha":"e0894e2a24d1b88dd05efd048964fe68b5bd97b1","author":{"name":"Evan Niessen-Derry","email":"47c3be3450fd09cc4c3f54a8e47eb9914ef3f501@gmail.com"},"message":"updated .gitignore","distinct":true,"url":"https://api.github.com/repos/futuro/abio/commits/e0894e2a24d1b88dd05efd048964fe68b5bd97b1"},{"sha":"d3342cea08eca754b8c4b26f851d91896de27914","author":{"name":"Evan Niessen-Derry","email":"47c3be3450fd09cc4c3f54a8e47eb9914ef3f501@gmail.com"},"message":"Simplify Buffered{Reader,Writer} creation\n\nInstead of passing the encoding as its own arg, along with an options\nmap, I want to pass just an opts map and encapsulate both of those\nthings.","distinct":true,"url":"https://api.github.com/repos/futuro/abio/commits/d3342cea08eca754b8c4b26f851d91896de27914"},{"sha":"cd3ab4a1cb7f65211562e431d9391348052da417","author":{"name":"Evan Niessen-Derry","email":"47c3be3450fd09cc4c3f54a8e47eb9914ef3f501@gmail.com"},"message":"Unify `-{,async-}list-files`\n\nI've decided that I like having a single function name to cover a\nconcept, in this case listing files, that has a form taking in a\ncallback which works asynchronously.","distinct":true,"url":"https://api.github.com/repos/futuro/abio/commits/cd3ab4a1cb7f65211562e431d9391348052da417"},{"sha":"711a679c94fefe3bbcf514c5b887d9f37c10e88c","author":{"name":"Evan Niessen-Derry","email":"47c3be3450fd09cc4c3f54a8e47eb9914ef3f501@gmail.com"},"message":"Unify async/sync reader/writer protocols\n\nIt makes more sense to me to have a single protocol method for a\nconcept that has two different arities to handle sync/async\nfunctionality. This simplifies the amount of code necessary, as well as\nmaking it easier to switch between sync/async (just drop/add an\nargument).\n\nAs such, we don't have async file readers/writers anymore. We just have\n`file-reader-open` and `file-writer-open`, which return reader/writer\nrecords. These records then have methods that can be called to\nread/write, and depending on the arity you use you get synchronicity or\nasynchronicity.\n\nAs such, if you want to do a sync and async read, it would be something\nlike\n\n```\n;; Reify your reader record\n(def rdr (abio.io/reader \"project.clj\" :encoding \"utf8\"))\n;; Sync\n(print (abio.io/-read rdr))\n;; Async\n(abio.io/-read rdr (fn [err data] (println)(print data)))\n```","distinct":true,"url":"https://api.github.com/repos/futuro/abio/commits/711a679c94fefe3bbcf514c5b887d9f37c10e88c"},{"sha":"6a5ed38b9f9c0ae7b25d00de1c35617409633479","author":{"name":"Evan Niessen-Derry","email":"47c3be3450fd09cc4c3f54a8e47eb9914ef3f501@gmail.com"},"message":"Whitespace and comment formatting\n\nMisc. whitespace and comment formatting changes.","distinct":true,"url":"https://api.github.com/repos/futuro/abio/commits/6a5ed38b9f9c0ae7b25d00de1c35617409633479"}]}
{"actor":{"display_login":"futuro"}}