NewFsSrc creates a new src fs from the arguments. The source can be a file or a directory - if a file then it will limit the Fs to a single file.
(args []string)
| 133 | // The source can be a file or a directory - if a file then it will |
| 134 | // limit the Fs to a single file. |
| 135 | func NewFsSrc(args []string) fs.Fs { |
| 136 | fsrc, _ := newFsFileAddFilter(args[0]) |
| 137 | return fsrc |
| 138 | } |
| 139 | |
| 140 | // newFsDir creates an Fs from a name |
| 141 | // |
searching dependent graphs…