Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/resolve all export #240

Merged
merged 2 commits into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .Mk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,3 @@ configure:
#- -Dfuzzer_timeout=10
default:
- test
env:
# gdwarf-4 is required to make abi-dumper work
CFLAGS: -gdwarf-4 -O0 -Og
12 changes: 12 additions & 0 deletions include/sqsh_file.h
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,18 @@ enum SqshFileType sqsh_file_type(const struct SqshFile *context);
*/
int sqsh_file_symlink_resolve(struct SqshFile *context);

/**
* @memberof SqshFile
* @brief resolves all symlink target targets until a file is hit. This function
* is similar to sqsh_file_symlink_resolve() but resolves symlinks recursively
* until a file is hit.
*
* @param[in] context The file context.
*
* @return int 0 on success, less than 0 on error.
*/
int sqsh_file_symlink_resolve_all(struct SqshFile *context);

/**
* @memberof SqshFile
* @brief returns the target of a symbolic link. Be aware that the returned
Expand Down
Loading