Documentation
¶
Index ¶
- func ActivateFeedVersion(ctx context.Context, atx tldb.Adapter, feedId int, fvid int) error
- func DeleteFeedVersion(ctx context.Context, atx tldb.Adapter, id int, extraTables []string) error
- func UnimportFeedVersion(ctx context.Context, atx tldb.Adapter, id int, extraTables []string) error
- func UnimportSchedule(ctx context.Context, atx tldb.Adapter, id int) error
- type Options
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivateFeedVersion ¶
ActivateFeedVersion .
func DeleteFeedVersion ¶
func UnimportFeedVersion ¶
UnimportFeedVersion unimports a feed version and removes the feed_version_gtfs_import record.
func UnimportSchedule ¶
UnimportSchedule removes schedule data for a feed version and updates the import record. stops, routes, agencies, pathways, levels are not affected. Note: calendars and calendar_dates MAY be deleted in future versions.
Types ¶
type Result ¶
type Result struct {
FeedVersionImport dmfr.FeedVersionImport
}
Result contains the results of a feed import.
func ImportFeedVersion ¶
ImportFeedVersion create FVI and run Copier inside a Tx.
Click to show internal directories.
Click to hide internal directories.