langchain_community.utilities.pebblo.get_source_size¶

langchain_community.utilities.pebblo.get_source_size(source_path: str) int[source]¶

Fetch size of source path. Source can be a directory or a file.

Parameters

source_path (str) – Local path of data source.

Returns

Source size in bytes.

Return type

int