We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Symbolic link files are added like this (since #168):
.with_file( "./test_assets/empty_file_for_symlink_create", FileOptions::new("/usr/bin/awesome_link") .mode(0o120644) )?
However, the empty file is needed just to get its last modification timestamp, and to comply with with_file(source, options) API.
with_file(source, options)
To add a directory (cf #12), it is also possible to do:
.with_file( "./test_assets/empty_file", FileOptions::new("/usr/share/awesome") .mode(FileMode::Dir { permissions: 0o755 }), // or .mode(0o040755) )?
However, in both cases, it feels weird to require a file, whose content is not used.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Symbolic link files are added like this (since #168):
However, the empty file is needed just to get its last modification timestamp, and to comply with
with_file(source, options)
API.To add a directory (cf #12), it is also possible to do:
However, in both cases, it feels weird to require a file, whose content is not used.
The text was updated successfully, but these errors were encountered: