12483: Support file create/write via webdav.
[arvados.git] / sdk / go / arvados / collection.go
index 61bcd7fe8f367f2ca3d3d48017213bbd5335d33e..999b4e9d483454ace177cad829e90f85ddccc44c 100644 (file)
@@ -30,6 +30,10 @@ type Collection struct {
        IsTrashed              bool       `json:"is_trashed,omitempty"`
 }
 
+func (c Collection) resourceName() string {
+       return "collection"
+}
+
 // SizedDigests returns the hash+size part of each data block
 // referenced by the collection.
 func (c *Collection) SizedDigests() ([]SizedDigest, error) {