fill_pattern


Description:

[ Version ( since = "1.3.12" ) ]
public bool fill_pattern (string pattern, int32 len, string path) throws Error

fill a file with a repeating pattern of bytes

This function is like fill except that it creates a new file of length len containing the repeating pattern of bytes in pattern. The pattern is truncated if necessary to ensure the length of the file is exactly len bytes.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error




2022 vala-language.org