Gheranda Samhita · by Gheranda (teaching Chanda Kapali)
Chapter 1 · The Six Cleansings
षट्कर्म्मसाधनम्
चतुरङ्गुलविस्तारं सूक्ष्मवस्त्रं शनैर्ग्रसेत् ।पुनः प्रत्याहरेदेतत्प्रोच्यते धौतिकर्म्मकम् ॥ ४० ॥
Classical description, not an instruction. Learn only under a qualified teacher.
Also in Hatha Yoga Pradipika 2.24
The text says the yogi slowly swallows a fine cloth 4 fingers wide. Then he draws it back out. This is called the act of dhauti (cloth cleansing).
Simple meaning: The text describes a cloth cleansing called dhauti.
गुल्मज्वरप्लीहाकुष्ठकफपित्तं विनश्यति ।
The text praises the cloth cleansing for health and strength.
अपानक्रूरता तावद्यावन्मूलं न शोधयेत् ।
The text says root cleansing is needed because the downward breath stays harsh until then.
पित्तमूलस्य दण्डेन मध्यमाङ्गुलिनापि वा ।
The text describes root cleansing with water.