// itemIsDir returns true if the item is a directory
//
// When a client sees a resourcetype it doesn't recognize it should
// assume it is a regular non-collection resource.  [WebDav book by
// Lisa Dusseault ch 7.5.8 p170]
itemIsDir returns true if the item is a directory

When a client sees a resourcetype it doesn't recognize it should
assume it is a regular non-collection resource.  [WebDav book by
Lisa Dusseault ch 7.5.8 p170]
// itemIsDir returns true if the item is a directory // // When a client sees a resourcetype it doesn ' t recognize it should // assume it is a regular non - collection resource . [ WebDav book by // Lisa Dusseault ch 7 . 5 . 8 p170 ]
func itemIsDir(item *api.Response) bool {
	if t := item.Props.Type; t != nil {
		if t.Space == "DAV:" && t.Local == "collection" {
			return true
		}
		fs.Debugf(nil, "Unknown resource type %q/%q on %q", t.Space, t.Local, item.Props.Name)
	}
	return false
}
func itemIsDir ( item * api . Response ) bool { if t := item . Props . Type ; t != nil { if t . Space == " " && t . Local == " " { return true } fs . Debugf ( nil , " " , t . Space , t . Local , item . Props . Name ) } return false }
itemIsDir returns true if the item is a directory
itemIsDir returns true if the item is a directory