137
133
from posix import stat_result
138
134
stat_val = stat_result((stat.S_IFLNK, 0, 0, 0, 0, 0, 0, 0, 0, 0))
139
135
blob.set_raw_string(entry.symlink_target)
142
136
# Add object to the repository if it didn't exist yet
143
137
if not blob.id in self.repository._git.object_store:
144
138
self.repository._git.object_store.add_object(blob)