Class opendal.metadata
OpenDAL metadata It must be returned operator::stat()
Methods
opendal.metadata:is_file () | Return whether the path represents a file |
opendal.metadata:is_dir () | Return whether the path represents a directory |
opendal.metadata:content_length () | Return the content_length of the metadata |
Methods
- opendal.metadata:is_file ()
-
Return whether the path represents a file
Returns:
-
bool if it is file, otherwise false
- opendal.metadata:is_dir ()
-
Return whether the path represents a directory
Returns:
-
bool if it is directory, otherwise false
- opendal.metadata:content_length ()
-
Return the content_length of the metadata
Returns:
-
bool if it is directory, otherwise false