| 27 | type errNetwork struct{ error } |
| 28 | |
| 29 | type AssetForUpload struct { |
| 30 | Name string |
| 31 | Label string |
| 32 | |
| 33 | Size int64 |
| 34 | MIMEType string |
| 35 | Open func() (io.ReadCloser, error) |
| 36 | |
| 37 | ExistingURL safeurl.SafeURL |
| 38 | } |
| 39 | |
| 40 | func AssetsFromArgs(args []string) (assets []*AssetForUpload, err error) { |
| 41 | labeledArgs, unlabeledArgs := cmdutil.Partition(args, func(arg string) bool { |
nothing calls this directly
no outgoing calls
no test coverage detected