1 write to _path
NuGet.Commands (1)
RestoreCommand\ContentFiles\SingleFileProvider.cs (1)
24_path = path;
6 references to _path
NuGet.Commands (6)
RestoreCommand\ContentFiles\SingleFileProvider.cs (6)
47if (_path.AsSpan().StartsWith(span, StringComparison.OrdinalIgnoreCase)) 49if (span.Length == _path.Length) 55if (span.Length == 0 || _path[span.Length] == '/') 58int slashIndex = _path.IndexOf('/', span.Length + 1); 63return new SingleDirectoryContents(new VirtualFileInfo(_path, isDirectory: false)); 68var path = _path.Substring(0, slashIndex);