fill_dir


Description:

[ Version ( since = "1.19.32" ) ]
public bool fill_dir (string dir, int32 nr) throws Error

fill a directory with empty files

This function, useful for testing filesystems, creates nr empty files in the directory dir with names @00000000 through nr-1 (ie. each file name is 8 digits long padded with zeroes).

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error