GsdDeleteOperation

GsdDeleteOperation — Wrapper for srm.

Functions

Properties

Types and Values

Object Hierarchy

    GObject
    ╰── GsdAsyncOperation
        ╰── GsdSecureDeleteOperation
            ╰── GsdZeroableOperation
                ╰── GsdDeleteOperation

Description

Functions

gsd_delete_operation_add_path ()

void
gsd_delete_operation_add_path (GsdDeleteOperation *self,
                               const gchar *path);

Adds a path to the list of paths to remove.

Parameters

self

the GsdDeleteOperation instance

 

path

 .

a path to securely remove.

.

[in]

gsd_delete_operation_remove_path ()

void
gsd_delete_operation_remove_path (GsdDeleteOperation *self,
                                  const gchar *path);

Removes a path from the list of paths to wipe.

Note that this is NOT a filter for files not to wipe! It only remove a path previously added with add_path() from the list of paths to wipe, it does not prevent wiping of a path if the directory containing it is in the list of paths to wipe.

Parameters

self

the GsdDeleteOperation instance

 

path

 .

a path already added you want to remove from the list.

.

[in]

gsd_delete_operation_new ()

GsdDeleteOperation *
gsd_delete_operation_new (void);

gsd_delete_operation_get_paths ()

GList *
gsd_delete_operation_get_paths (GsdDeleteOperation *self);

Get and return the current value of the "paths" property.

List of all files to wipe.

Parameters

self

the GsdDeleteOperation instance to query

 

Returns

the value of the "paths" property

Types and Values

GSD_TYPE_DELETE_OPERATION

#define GSD_TYPE_DELETE_OPERATION (gsd_delete_operation_get_type ())

The type for GsdDeleteOperation.


struct GsdDeleteOperation

struct GsdDeleteOperation;

Wrapper for srm.


struct GsdDeleteOperationClass

struct GsdDeleteOperationClass {
	GsdZeroableOperationClass parent_class;
};

The class structure for GSD_TYPE_DELETE_OPERATION. All the fields in this structure are private and should never be accessed directly.

Members

Property Details

The “paths” property

  “paths”                    gpointer

List of all files to wipe.

Flags: Read