PathProperties class

Definition

Path properties listed by get_paths api.

PathProperties(**kwargs)
Inheritance
builtins.object
PathProperties

Variables

name
str
the full path for a file or directory.
owner
str
The owner of the file or directory.
group
str
he owning group of the file or directory.
permissions
str
Sets POSIX access permissions for the file owner, the file owning group, and others. Each class may be granted read, write, or execute permission. The sticky bit is also supported. Both symbolic (rwxrw-rw-) and 4-digit octal notation (e.g. 0766) are supported.
last_modified
datetime
A datetime object representing the last time the directory/file was modified.
is_directory
bool
is the path a directory or not.
etag
str
The ETag contains a value that you can use to perform operations conditionally.
content_length
str
the size of file if the path is a file.