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