103__attribute__((deprecated(
"Since 1.5.0. Use sqsh_easy_file_size2() instead.")))
117 struct
SqshArchive *archive, const
char *path,
int *err);
161 struct
SqshArchive *archive, const
char *path,
int *err);
175 struct
SqshArchive *archive, const
char *path,
int *err);
182 struct
SqshArchive *archive, const
char *path,
int *err);
215 struct
SqshArchive *archive, const
char *path, const
char *key,
size_t sqsh_easy_file_size(struct SqshArchive *archive, const char *path, int *err)
retrieves the size of a file.
char ** sqsh_easy_directory_list_path(struct SqshArchive *archive, const char *path, int *err)
retrieves the contents of a directory as a list of file paths
mode_t sqsh_easy_file_permission(struct SqshArchive *archive, const char *path, int *err)
retrieves unix permissions of a file.
char ** sqsh_easy_tree_traversal(struct SqshArchive *archive, const char *path, int *err)
uint32_t sqsh_easy_file_mtime2(struct SqshArchive *archive, const char *path, int *err)
retrieves the modification time of a file.
uint64_t sqsh_easy_file_size2(struct SqshArchive *archive, const char *path, int *err)
retrieves the size of a file.
char * sqsh_easy_xattr_get(struct SqshArchive *archive, const char *path, const char *key, int *err)
retrieves the value of a xattr key of a file or directory.
bool sqsh_easy_file_exists(struct SqshArchive *archive, const char *path, int *err)
checks if a file exists.
time_t sqsh_easy_file_mtime(struct SqshArchive *archive, const char *path, int *err)
retrieves the modification time of a file.
char ** sqsh_easy_xattr_keys(struct SqshArchive *archive, const char *path, int *err)
retrieves all xattr keys of a file or directory.
char ** sqsh_easy_directory_list(struct SqshArchive *archive, const char *path, int *err)
retrieves the contents of a directory as a list of file names
uint8_t * sqsh_easy_file_content(struct SqshArchive *archive, const char *path, int *err)
retrieves the content of a file.