Skip to content

Update symlink only after the content archive is ready.#541

Open
Farzat07 wants to merge 2 commits into
tmux-plugins:masterfrom
Farzat07:link_after_archive
Open

Update symlink only after the content archive is ready.#541
Farzat07 wants to merge 2 commits into
tmux-plugins:masterfrom
Farzat07:link_after_archive

Conversation

@Farzat07
Copy link
Copy Markdown
Contributor

Otherwise, if the computer shuts down while the archive is being created, then the symlink will point to a file possibly incompatible with the archive.

This is to make sure the file referred to by last and the content
archive refer to the same time stamp in case the process is interrupted
while creating the archive.
Makes sure there is a working archive file copy in case the process is
killed while compressing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant