MCPcopy Index your code
hub / github.com/ether/etherpad / sofficeAvailable

Function sofficeAvailable

src/node/utils/Settings.ts:921–927  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

919// END OF SETTINGS
920
921export const sofficeAvailable = () => {
922 if (settings.soffice != null) {
923 return os.type().indexOf('Windows') !== -1 ? 'withoutPDF' : 'yes';
924 } else {
925 return 'no';
926 }
927};
928
929export const exportAvailable = () => sofficeAvailable();
930

Callers 3

handleClientReadyFunction · 0.90
exportAvailableFunction · 0.85
ExportHandler.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected