Documentation ¶
Overview ¶
Package diff provides the diff sub command for updating with diff files.
Index ¶
Constants ¶
View Source
const LastStateFilename = "last.state.txt"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Deleter ¶
type Deleter struct {
// contains filtered or unexported fields
}
func NewDeleter ¶
func NewDeleter(db database.Deleter, osmCache *cache.OSMCache, diffCache *cache.DiffCache, singleIDSpace bool, tmPoints mapping.NodeMatcher, tmLineStrings mapping.WayMatcher, tmPolygons mapping.RelWayMatcher, tmRelation mapping.RelationMatcher, tmRelationMember mapping.RelationMatcher, ) *Deleter
func (*Deleter) Delete ¶
Delete deletes the provided element from all matching tables. Depending elements are also removed (e.g. all ways and relations that are affected by a node).
func (*Deleter) DeletedMemberWays ¶
func (*Deleter) SetExpireor ¶
Click to show internal directories.
Click to hide internal directories.