mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 21:15:36 +00:00
7f3171c814
is now tracking Gnome 2.6. svn path=/trunk/gtk-sharp/; revision=35479
24 lines
481 B
C#
24 lines
481 B
C#
using Gnome.Vfs;
|
|
using System;
|
|
|
|
namespace Test.Gnome.Vfs {
|
|
public class TestUnlink {
|
|
static void Main (string[] args)
|
|
{
|
|
if (args.Length != 1) {
|
|
Console.WriteLine ("Usage: TestUnlink <uri>");
|
|
return;
|
|
}
|
|
|
|
Gnome.Vfs.Vfs.Initialize ();
|
|
|
|
Gnome.Vfs.Uri uri = new Gnome.Vfs.Uri (args[0]);
|
|
Result result = Gnome.Vfs.Vfs.Unlink (uri.ToString ());
|
|
|
|
Console.WriteLine ("result unlink ('{0}') = {1}", uri, result);
|
|
|
|
Gnome.Vfs.Vfs.Shutdown ();
|
|
}
|
|
}
|
|
}
|