abstractfactory / openmetadata

associate metadata with your folders
Other
45 stars 8 forks source link

Path.name not returning .meta #3

Closed mottosso closed 10 years ago

mottosso commented 10 years ago

A proposed feature which became a bug and an annoyance.

The idea was to never be bothered with the internals of Location objects such that when asking a location's contained path for its .name, it would return the name of the folder rather than the container.

This made sense in About - header displaying the target folder rather than a constant .meta - but not in others - trash() behaving differently when trashing a Location or an Entity

mottosso commented 10 years ago

The responsibility was moved to Location and Entity objects to provide direct access to a .name property.