writeFile

EditFrontMatter.writeFile(file_path=None, *args, **kwargs) → bool[source]

Write to arg file_path, attr file_path

Note

If the original file source data was empty after a call to readFile(), no attempt is maid to write to the file.

Parameters

file_path (str) – optional file path

Returns

  • True if file was written

  • ’False` if file was not written