mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
...
This commit is contained in:
parent
949860ff22
commit
2f775086b0
1 changed files with 3 additions and 0 deletions
|
|
@ -247,6 +247,9 @@ func get_file_data(callback func(h *tar.Header, data []byte) error, seen map[fil
|
|||
return err
|
||||
}
|
||||
u, unix_stat_conv_ok := s.Sys().(*syscall.Stat_t)
|
||||
if u == nil {
|
||||
unix_stat_conv_ok = false
|
||||
}
|
||||
cb := func(h *tar.Header, data []byte, arcname string) error {
|
||||
h.Name = arcname
|
||||
if h.Typeflag == tar.TypeDir {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue