public override int Link(ReadOnlySpan <byte> fromPath, ReadOnlySpan <byte> toPath, Guid fileGuid) { if (debug) { Console.WriteLine($"NeoFS::Link()"); } fromPath = base.TransformPath(fromPath); toPath = base.TransformPath(toPath); var res = LibC.link(toBp(fromPath), toBp(toPath)); if (res < 0) { res = LibC.errno; } return(res); }