Home | History | Annotate | Download | only in workspace

Lines Matching full:pathprefix

104                 var entry = new WebInspector.FileSystemMapping.Entry(savedEntry.fileSystemPath, savedEntry.urlPrefix, savedEntry.pathPrefix);
181 * @param {string} pathPrefix
183 addFileMapping: function(fileSystemPath, urlPrefix, pathPrefix)
185 var entry = new WebInspector.FileSystemMapping.Entry(fileSystemPath, urlPrefix, pathPrefix);
194 * @param {string} pathPrefix
196 removeFileMapping: function(fileSystemPath, urlPrefix, pathPrefix)
198 var entry = this._mappingEntryForPathPrefix(fileSystemPath, pathPrefix);
287 var pathPrefix = entries[i].pathPrefix;
288 // We are looking for the longest pathPrefix match.
289 if (entry && entry.pathPrefix.length > pathPrefix.length)
291 if (filePath.startsWith(pathPrefix.substr(1)))
299 * @param {string} pathPrefix
302 _mappingEntryForPathPrefix: function(fileSystemPath, pathPrefix)
306 if (pathPrefix === entries[i].pathPrefix)
368 file.filePath = entry.pathPrefix.substr(1) + url.substr(entry.urlPrefix.length);
382 return entry.urlPrefix + filePath.substring(entry.pathPrefix.length - 1);
414 var pathPrefix = normalizedFilePath.substr(0, normalizedFilePath.length - commonPathSuffixLength);
416 this.addFileMapping(fileSystemPath, urlPrefix, pathPrefix);
426 * @param {string} pathPrefix
428 WebInspector.FileSystemMapping.Entry = function(fileSystemPath, urlPrefix, pathPrefix)
432 this.pathPrefix = pathPrefix;