{"push_id":3579476511,"size":7,"distinct_size":0,"ref":"refs/heads/fix/FileSystem_updates","head":"266edb98a0af1b151faf0138214a9b7a887e6dc0","before":"39ad2f69356779e638ee984af1376ac305579852","commits":[{"sha":"69b116aa4ba4a27741c41834d821fafd1e5a5d84","author":{"name":"mikee47","email":"a17fed27eaa842282862ff7c1b9c8395a26ac320@sillyhouse.net"},"message":"Review `FileSystem` functions\n\n* Remove redundant `fileTell()` calls following `fileSeek` (which returns the position)\n* Remove redundant buffer allocation from `String fileGetContent()`. Instead, read directly into pre-allocated String object. Also, do not return invalid String if file is just empty\n* Add additional check on `fileRead` to both `fileGetContent()` functions, returning empty/invalid result on failure.\n* Change `fileWrite()` and `fileRead()` return value from `size_t` to `int`\n* Return 0 from `fileGetSize` in the event of error, rather than casting negative error code to size_t\n* Implement `fileTruncate()` for both file handle and file name\n* Implement `FileStream::truncate()`\n* Implement `FileStream::lseek()` - called by `seek()` but don't use same name as return value is different","distinct":false,"url":"https://api.github.com/repos/mikee47/Sming/commits/69b116aa4ba4a27741c41834d821fafd1e5a5d84"},{"sha":"7b109d95aa45c63073965e44aeca1fa429497bcf","author":{"name":"mikee47","email":"a17fed27eaa842282862ff7c1b9c8395a26ac320@sillyhouse.net"},"message":"Add file enumeration functions to FileSystem API\n\n* `filedir_t` is an opaque structure, currently just `spiffs_DIR`\n* `dirent_t` created to avoid using SPIFFS-specific structure\n* Add tests to LiveDebug sample","distinct":false,"url":"https://api.github.com/repos/mikee47/Sming/commits/7b109d95aa45c63073965e44aeca1fa429497bcf"},{"sha":"600beaae83e502fc7830683fd9553f360b4e40ca","author":{"name":"mikee47","email":"a17fed27eaa842282862ff7c1b9c8395a26ac320@sillyhouse.net"},"message":"Add `fileStats` functions with abstracted `filestat_t`","distinct":false,"url":"https://api.github.com/repos/mikee47/Sming/commits/600beaae83e502fc7830683fd9553f360b4e40ca"},{"sha":"137a5b53d8ae21a2a6a6ee2856a8f4dec31f9ea2","author":{"name":"mikee47","email":"a17fed27eaa842282862ff7c1b9c8395a26ac320@sillyhouse.net"},"message":"Move definition of `file_t` into `FileSystem.h`","distinct":false,"url":"https://api.github.com/repos/mikee47/Sming/commits/137a5b53d8ae21a2a6a6ee2856a8f4dec31f9ea2"},{"sha":"e25f1bff18fe0113fcc6b8fa3b96b44c9666f4d0","author":{"name":"mikee47","email":"a17fed27eaa842282862ff7c1b9c8395a26ac320@sillyhouse.net"},"message":"Add length parameter to `fileSetContent` and fix `String` variant\n\n* NUL characters in `fileSetContent(.., String&)` would cause incorrect behaviour","distinct":false,"url":"https://api.github.com/repos/mikee47/Sming/commits/e25f1bff18fe0113fcc6b8fa3b96b44c9666f4d0"},{"sha":"d34cad4970f7336ec55de9f5ba8d260ea35c5ada","author":{"name":"mikee47","email":"a17fed27eaa842282862ff7c1b9c8395a26ac320@sillyhouse.net"},"message":"Fix wrong file path for Live debug sample test data","distinct":false,"url":"https://api.github.com/repos/mikee47/Sming/commits/d34cad4970f7336ec55de9f5ba8d260ea35c5ada"},{"sha":"266edb98a0af1b151faf0138214a9b7a887e6dc0","author":{"name":"mikee47","email":"a17fed27eaa842282862ff7c1b9c8395a26ac320@sillyhouse.net"},"message":"Rename `PATH_MAX` to `SMING_PATH_MAX`\n\nAlso add template function to copy stats (avoid duplicate code)","distinct":false,"url":"https://api.github.com/repos/mikee47/Sming/commits/266edb98a0af1b151faf0138214a9b7a887e6dc0"}]}
{"actor":{"display_login":"mikee47"}}