MCPcopy Create free account
hub / github.com/Tatamo/atcoder-cli / removeSession

Method removeSession

src/session.ts:155–160  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153 }
154
155 async removeSession(): Promise<void> {
156 const session_cooies = (await this.getCookies());
157 session_cooies.empty();
158 // 空のcookieで設定ファイルを上書きする
159 await this.saveCookie();
160 }
161
162 /**
163 * cookieへの保存を設定ファイルに反映する。

Callers

nothing calls this directly

Calls 3

getCookiesMethod · 0.95
saveCookieMethod · 0.95
emptyMethod · 0.65

Tested by

no test coverage detected