forked from facebook/redex
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deal with symlinks in generated embeddings
Summary: When embedding files into the redex Python environment, the Python `tarfile` support will create symlinks when the inputs are symlinks. That, of course, defeats the purpose. Use `TarInfo` construction that avoids the issue. Reviewed By: IanChilds Differential Revision: D41507787 fbshipit-source-id: e72041d5d82e3166b23cd8deb1e9cea445173c2b
- Loading branch information
1 parent
cfdd00d
commit 41d5dc8
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters