(self, path: PATH_TYPES)
return path.stat().st_size
Return the file size of provided path.
Return the file size of provided path.
Return the file size of provided path .
def get_file_size(self, path: PATH_TYPES) -> int:
        """Return the file size of provided path."""
        if not isinstance(path, pathlib.Path):
            path = pathlib.Path(path)
        return path.stat().st_size
def get_file_size ( self , path : PATH_TYPES ) -> int : if not isinstance ( path , pathlib . Path ) : path = pathlib . Path ( path ) return path . stat ( ) . st_size