MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / setFilename

Method setFilename

static/panes/editor.ts:1919–1923  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

1917 }
1918
1919 setFilename(name: string): void {
1920 this.filename = name;
1921 this.updateTitle();
1922 this.updateState();
1923 }
1924
1925 getFilename(): string {
1926 return this.filename || '';

Callers 2

initLoadSaverMethod · 0.95
renameFileMethod · 0.80

Calls 2

updateTitleMethod · 0.95
updateStateMethod · 0.95

Tested by

no test coverage detected