nodeattr: rename Content to CamliContent, since Content also exists.

Change-Id: I305ca3cecf9b223a125fb9207966995c9dbf83b8
This commit is contained in:
Brad Fitzpatrick 2014-07-25 14:41:17 -07:00
parent 997d8241b9
commit d0fbfd9751
2 changed files with 4 additions and 5 deletions

View File

@ -262,7 +262,7 @@ func (r *run) importPhoto(albumNode *importer.Object, photo picago.Photo, client
}
attrs := []string{
nodeattr.Content, fileRef.String(),
nodeattr.CamliContent, fileRef.String(),
"picasaId", photo.ID,
nodeattr.Title, photo.Title,
"caption", photo.Summary,

View File

@ -36,12 +36,11 @@ const (
// Well-defined ones are documented in doc/schema/claims/attributes.txt.
Type = "camliNodeType"
// Content is "camliContent", the blobref of the permanode's content.
// CamliContent is "camliContent", the blobref of the permanode's content.
// For files or images, the camliContent is fileref (the blobref of
// the "file" schema blob).
Content = "camliContent"
CamliContent = "camliContent"
Latitude = "latitude"
Latitude = "latitude"
Longitude = "longitude"
)