ExpandFile expands the src file into the dest directory.
(dest, src string)
| 102 | |
| 103 | // ExpandFile expands the src file into the dest directory. |
| 104 | func ExpandFile(dest, src string) error { |
| 105 | h, err := os.Open(src) |
| 106 | if err != nil { |
| 107 | return err |
| 108 | } |
| 109 | defer h.Close() |
| 110 | return Expand(dest, h) |
| 111 | } |
searching dependent graphs…