All our doors in all our barns have been swinging doors and have yet to need a repair or replace one of those, for decades of use?
They were made right an hung right.
Working in barns with sliding doors, even the best made door, if a horse rubs it’s behind hard enough on one, or kicks it hard, or bangs on the door, some or other on it may need repairing for it to slide properly.
Still, in the right situation, you may just have to live with that, if they are the better fit.