AddPaths adds the given paths to the index's list of paths.
(paths []string)
| 98 | |
| 99 | // AddPaths adds the given paths to the index's list of paths. |
| 100 | func (ix *IndexWriter) AddPaths(paths []string) { |
| 101 | ix.paths = append(ix.paths, paths...) |
| 102 | } |
| 103 | |
| 104 | // AddFile adds the file with the given name (opened using os.Open) |
| 105 | // to the index. It logs errors using package log. |
no outgoing calls