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