1/* 2 * Copyright (c) 2017 3 * 4 * This file is licensed under the Affero General Public License version 3 5 * or later. 6 * 7 * See the COPYING-README file. 8 * 9 */ 10 11(function() { 12 /** 13 * @class OC.Share.SharesCollection 14 * @classdesc 15 * 16 * Represents a collection of shares 17 */ 18 var SharesCollection = OC.Backbone.Collection.extend({ 19 model: OC.Share.ShareModel, 20 21 url: function() { 22 var params = { 23 format: 'json' 24 }; 25 return OC.linkToOCS('apps/files_sharing/api/v1/shares', 2) + '?' + OC.buildQueryString(params); 26 } 27 }); 28 29 OC.Share = OC.Share || {}; 30 OC.Share.SharesCollection = SharesCollection; 31})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.