Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add missing stat() methods to DBFSPath and WorkspacePath ([#144](#144)). The `stat()` method has been added to both `DBFSPath` and `WorkspacePath` classes, addressing issues [#142](#142) and [#143](#143). This method, which adheres to the Posix standard, returns file status in the `os.stat_result` format, providing access to various metadata attributes such as file size, last modification time, and creation time. By incorporating this method, developers can now obtain essential file information for Databricks File System (DBFS) and Databricks Workspace paths when working with these classes. The change includes a new test case for `stat()` in the `test_paths.py` file to ensure the correctness of the method for both classes.
- Loading branch information