From 646304a6e7c3b2c442a0a7db995629e7009c3a14 Mon Sep 17 00:00:00 2001 From: scott Chacon Date: Sun, 11 Nov 2007 17:59:18 -0800 Subject: added documentation and a license file --- doc/classes/Git/Object/AbstractObject.html | 349 +++++++++++++++++++++ .../Git/Object/AbstractObject.src/M000122.html | 21 ++ .../Git/Object/AbstractObject.src/M000123.html | 18 ++ .../Git/Object/AbstractObject.src/M000124.html | 18 ++ .../Git/Object/AbstractObject.src/M000125.html | 18 ++ .../Git/Object/AbstractObject.src/M000126.html | 18 ++ .../Git/Object/AbstractObject.src/M000127.html | 20 ++ .../Git/Object/AbstractObject.src/M000128.html | 18 ++ .../Git/Object/AbstractObject.src/M000129.html | 18 ++ doc/classes/Git/Object/Blob.html | 148 +++++++++ doc/classes/Git/Object/Blob.src/M000132.html | 18 ++ doc/classes/Git/Object/Commit.html | 148 +++++++++ doc/classes/Git/Object/Commit.src/M000121.html | 18 ++ doc/classes/Git/Object/Tag.html | 188 +++++++++++ doc/classes/Git/Object/Tag.src/M000130.html | 19 ++ doc/classes/Git/Object/Tag.src/M000131.html | 18 ++ doc/classes/Git/Object/Tree.html | 148 +++++++++ doc/classes/Git/Object/Tree.src/M000133.html | 18 ++ 18 files changed, 1221 insertions(+) create mode 100644 doc/classes/Git/Object/AbstractObject.html create mode 100644 doc/classes/Git/Object/AbstractObject.src/M000122.html create mode 100644 doc/classes/Git/Object/AbstractObject.src/M000123.html create mode 100644 doc/classes/Git/Object/AbstractObject.src/M000124.html create mode 100644 doc/classes/Git/Object/AbstractObject.src/M000125.html create mode 100644 doc/classes/Git/Object/AbstractObject.src/M000126.html create mode 100644 doc/classes/Git/Object/AbstractObject.src/M000127.html create mode 100644 doc/classes/Git/Object/AbstractObject.src/M000128.html create mode 100644 doc/classes/Git/Object/AbstractObject.src/M000129.html create mode 100644 doc/classes/Git/Object/Blob.html create mode 100644 doc/classes/Git/Object/Blob.src/M000132.html create mode 100644 doc/classes/Git/Object/Commit.html create mode 100644 doc/classes/Git/Object/Commit.src/M000121.html create mode 100644 doc/classes/Git/Object/Tag.html create mode 100644 doc/classes/Git/Object/Tag.src/M000130.html create mode 100644 doc/classes/Git/Object/Tag.src/M000131.html create mode 100644 doc/classes/Git/Object/Tree.html create mode 100644 doc/classes/Git/Object/Tree.src/M000133.html (limited to 'doc/classes/Git/Object') diff --git a/doc/classes/Git/Object/AbstractObject.html b/doc/classes/Git/Object/AbstractObject.html new file mode 100644 index 0000000..e2569c4 --- /dev/null +++ b/doc/classes/Git/Object/AbstractObject.html @@ -0,0 +1,349 @@ + + + + + + Class: Git::Object::AbstractObject + + + + + + + + + + +
+ + + + + + + + + + + + + + +
ClassGit::Object::AbstractObject
In: + + lib/git/object.rb + +
+
Parent: + Object +
+
+ + +
+ + + +
+ + + +
+ +
+

Methods

+ +
+ contents   + contents_array   + diff   + grep   + log   + new   + setup   + to_s   +
+
+ +
+ + + + +
+ + + + + +
+

Attributes

+ +
+ + + + + + + + + + + + + + + + + + + + + +
mode [RW] 
sha [RW] 
size [RW] 
type [RW] 
+
+
+ + + + +
+

Public Class methods

+ +
+ + + + +
+

[Source]

+
+
+# File lib/git/object.rb, line 13
+      def initialize(base, sha)
+        @base = base
+        @sha = sha
+        @size = @base.lib.object_size(@sha)
+        setup
+      end
+
+
+
+
+ +

Public Instance methods

+ +
+ + + + +
+

[Source]

+
+
+# File lib/git/object.rb, line 20
+      def contents
+        @base.lib.object_contents(@sha)
+      end
+
+
+
+
+ +
+ + + + +
+

[Source]

+
+
+# File lib/git/object.rb, line 24
+      def contents_array
+        self.contents.split("\n")
+      end
+
+
+
+
+ +
+ + + + +
+

[Source]

+
+
+# File lib/git/object.rb, line 42
+      def diff(objectish)
+        Git::Diff.new(@base, @sha, objectish)
+      end
+
+
+
+
+ +
+ + + + +
+

[Source]

+
+
+# File lib/git/object.rb, line 36
+      def grep(string, path_limiter = nil, opts = {})
+        default = {:object => @sha, :path_limiter => path_limiter}
+        grep_options = default.merge(opts)
+        @base.lib.grep(string, grep_options)
+      end
+
+
+
+
+ +
+ + + + +
+

[Source]

+
+
+# File lib/git/object.rb, line 46
+      def log(count = 30)
+        Git::Log.new(@base, count).object(@sha)
+      end
+
+
+
+
+ +
+ + + + +
+

[Source]

+
+
+# File lib/git/object.rb, line 28
+      def setup
+        raise NotImplementedError
+      end
+
+
+
+
+ +
+ + + + +
+

[Source]

+
+
+# File lib/git/object.rb, line 32
+      def to_s
+        @sha
+      end
+
+
+
+
+ + +
+ + +
+ + +
+

[Validate]

+
+ + + \ No newline at end of file diff --git a/doc/classes/Git/Object/AbstractObject.src/M000122.html b/doc/classes/Git/Object/AbstractObject.src/M000122.html new file mode 100644 index 0000000..a43468f --- /dev/null +++ b/doc/classes/Git/Object/AbstractObject.src/M000122.html @@ -0,0 +1,21 @@ + + + + + + new (Git::Object::AbstractObject) + + + + +
# File lib/git/object.rb, line 13
+      def initialize(base, sha)
+        @base = base
+        @sha = sha
+        @size = @base.lib.object_size(@sha)
+        setup
+      end
+ + \ No newline at end of file diff --git a/doc/classes/Git/Object/AbstractObject.src/M000123.html b/doc/classes/Git/Object/AbstractObject.src/M000123.html new file mode 100644 index 0000000..261ed9d --- /dev/null +++ b/doc/classes/Git/Object/AbstractObject.src/M000123.html @@ -0,0 +1,18 @@ + + + + + + contents (Git::Object::AbstractObject) + + + + +
# File lib/git/object.rb, line 20
+      def contents
+        @base.lib.object_contents(@sha)
+      end
+ + \ No newline at end of file diff --git a/doc/classes/Git/Object/AbstractObject.src/M000124.html b/doc/classes/Git/Object/AbstractObject.src/M000124.html new file mode 100644 index 0000000..2bfbdc8 --- /dev/null +++ b/doc/classes/Git/Object/AbstractObject.src/M000124.html @@ -0,0 +1,18 @@ + + + + + + contents_array (Git::Object::AbstractObject) + + + + +
# File lib/git/object.rb, line 24
+      def contents_array
+        self.contents.split("\n")
+      end
+ + \ No newline at end of file diff --git a/doc/classes/Git/Object/AbstractObject.src/M000125.html b/doc/classes/Git/Object/AbstractObject.src/M000125.html new file mode 100644 index 0000000..88e36d8 --- /dev/null +++ b/doc/classes/Git/Object/AbstractObject.src/M000125.html @@ -0,0 +1,18 @@ + + + + + + setup (Git::Object::AbstractObject) + + + + +
# File lib/git/object.rb, line 28
+      def setup
+        raise NotImplementedError
+      end
+ + \ No newline at end of file diff --git a/doc/classes/Git/Object/AbstractObject.src/M000126.html b/doc/classes/Git/Object/AbstractObject.src/M000126.html new file mode 100644 index 0000000..b37a7fe --- /dev/null +++ b/doc/classes/Git/Object/AbstractObject.src/M000126.html @@ -0,0 +1,18 @@ + + + + + + to_s (Git::Object::AbstractObject) + + + + +
# File lib/git/object.rb, line 32
+      def to_s
+        @sha
+      end
+ + \ No newline at end of file diff --git a/doc/classes/Git/Object/AbstractObject.src/M000127.html b/doc/classes/Git/Object/AbstractObject.src/M000127.html new file mode 100644 index 0000000..11b43c6 --- /dev/null +++ b/doc/classes/Git/Object/AbstractObject.src/M000127.html @@ -0,0 +1,20 @@ + + + + + + grep (Git::Object::AbstractObject) + + + + +
# File lib/git/object.rb, line 36
+      def grep(string, path_limiter = nil, opts = {})
+        default = {:object => @sha, :path_limiter => path_limiter}
+        grep_options = default.merge(opts)
+        @base.lib.grep(string, grep_options)
+      end
+ + \ No newline at end of file diff --git a/doc/classes/Git/Object/AbstractObject.src/M000128.html b/doc/classes/Git/Object/AbstractObject.src/M000128.html new file mode 100644 index 0000000..8a352c7 --- /dev/null +++ b/doc/classes/Git/Object/AbstractObject.src/M000128.html @@ -0,0 +1,18 @@ + + + + + + diff (Git::Object::AbstractObject) + + + + +
# File lib/git/object.rb, line 42
+      def diff(objectish)
+        Git::Diff.new(@base, @sha, objectish)
+      end
+ + \ No newline at end of file diff --git a/doc/classes/Git/Object/AbstractObject.src/M000129.html b/doc/classes/Git/Object/AbstractObject.src/M000129.html new file mode 100644 index 0000000..c7b1dac --- /dev/null +++ b/doc/classes/Git/Object/AbstractObject.src/M000129.html @@ -0,0 +1,18 @@ + + + + + + log (Git::Object::AbstractObject) + + + + +
# File lib/git/object.rb, line 46
+      def log(count = 30)
+        Git::Log.new(@base, count).object(@sha)
+      end
+ + \ No newline at end of file diff --git a/doc/classes/Git/Object/Blob.html b/doc/classes/Git/Object/Blob.html new file mode 100644 index 0000000..dd3048d --- /dev/null +++ b/doc/classes/Git/Object/Blob.html @@ -0,0 +1,148 @@ + + + + + + Class: Git::Object::Blob + + + + + + + + + + +
+ + + + + + + + + + + + + + +
ClassGit::Object::Blob
In: + + lib/git/object.rb + +
+
Parent: + + AbstractObject + +
+
+ + +
+ + + +
+ + + +
+ +
+

Methods

+ +
+ setup   +
+
+ +
+ + + + +
+ + + + + + + + + +
+

Public Instance methods

+ +
+ + + + +
+

[Source]

+
+
+# File lib/git/object.rb, line 54
+      def setup
+        @type = 'blob'
+      end
+
+
+
+
+ + +
+ + +
+ + +
+

[Validate]

+
+ + + \ No newline at end of file diff --git a/doc/classes/Git/Object/Blob.src/M000132.html b/doc/classes/Git/Object/Blob.src/M000132.html new file mode 100644 index 0000000..73983e4 --- /dev/null +++ b/doc/classes/Git/Object/Blob.src/M000132.html @@ -0,0 +1,18 @@ + + + + + + setup (Git::Object::Blob) + + + + +
# File lib/git/object.rb, line 54
+      def setup
+        @type = 'blob'
+      end
+ + \ No newline at end of file diff --git a/doc/classes/Git/Object/Commit.html b/doc/classes/Git/Object/Commit.html new file mode 100644 index 0000000..18d4e1b --- /dev/null +++ b/doc/classes/Git/Object/Commit.html @@ -0,0 +1,148 @@ + + + + + + Class: Git::Object::Commit + + + + + + + + + + +
+ + + + + + + + + + + + + + +
ClassGit::Object::Commit
In: + + lib/git/object.rb + +
+
Parent: + + AbstractObject + +
+
+ + +
+ + + +
+ + + +
+ +
+

Methods

+ +
+ setup   +
+
+ +
+ + + + +
+ + + + + + + + + +
+

Public Instance methods

+ +
+ + + + +
+

[Source]

+
+
+# File lib/git/object.rb, line 66
+      def setup
+        @type = 'commit'
+      end
+
+
+
+
+ + +
+ + +
+ + +
+

[Validate]

+
+ + + \ No newline at end of file diff --git a/doc/classes/Git/Object/Commit.src/M000121.html b/doc/classes/Git/Object/Commit.src/M000121.html new file mode 100644 index 0000000..4391b29 --- /dev/null +++ b/doc/classes/Git/Object/Commit.src/M000121.html @@ -0,0 +1,18 @@ + + + + + + setup (Git::Object::Commit) + + + + +
# File lib/git/object.rb, line 66
+      def setup
+        @type = 'commit'
+      end
+ + \ No newline at end of file diff --git a/doc/classes/Git/Object/Tag.html b/doc/classes/Git/Object/Tag.html new file mode 100644 index 0000000..9055eff --- /dev/null +++ b/doc/classes/Git/Object/Tag.html @@ -0,0 +1,188 @@ + + + + + + Class: Git::Object::Tag + + + + + + + + + + +
+ + + + + + + + + + + + + + +
ClassGit::Object::Tag
In: + + lib/git/object.rb + +
+
Parent: + + AbstractObject + +
+
+ + +
+ + + +
+ + + +
+ +
+

Methods

+ +
+ new   + setup   +
+
+ +
+ + + + +
+ + + + + +
+

Attributes

+ +
+ + + + + + +
name [RW] 
+
+
+ + + + +
+

Public Class methods

+ +
+ + + + +
+

[Source]

+
+
+# File lib/git/object.rb, line 74
+      def initialize(base, sha, name)
+        super(base, sha)
+        @name = name
+      end
+
+
+
+
+ +

Public Instance methods

+ +
+ + + + +
+

[Source]

+
+
+# File lib/git/object.rb, line 79
+      def setup
+        @type = 'tag'
+      end
+
+
+
+
+ + +
+ + +
+ + +
+

[Validate]

+
+ + + \ No newline at end of file diff --git a/doc/classes/Git/Object/Tag.src/M000130.html b/doc/classes/Git/Object/Tag.src/M000130.html new file mode 100644 index 0000000..5bc3f6c --- /dev/null +++ b/doc/classes/Git/Object/Tag.src/M000130.html @@ -0,0 +1,19 @@ + + + + + + new (Git::Object::Tag) + + + + +
# File lib/git/object.rb, line 74
+      def initialize(base, sha, name)
+        super(base, sha)
+        @name = name
+      end
+ + \ No newline at end of file diff --git a/doc/classes/Git/Object/Tag.src/M000131.html b/doc/classes/Git/Object/Tag.src/M000131.html new file mode 100644 index 0000000..1daa7e2 --- /dev/null +++ b/doc/classes/Git/Object/Tag.src/M000131.html @@ -0,0 +1,18 @@ + + + + + + setup (Git::Object::Tag) + + + + +
# File lib/git/object.rb, line 79
+      def setup
+        @type = 'tag'
+      end
+ + \ No newline at end of file diff --git a/doc/classes/Git/Object/Tree.html b/doc/classes/Git/Object/Tree.html new file mode 100644 index 0000000..9204e5f --- /dev/null +++ b/doc/classes/Git/Object/Tree.html @@ -0,0 +1,148 @@ + + + + + + Class: Git::Object::Tree + + + + + + + + + + +
+ + + + + + + + + + + + + + +
ClassGit::Object::Tree
In: + + lib/git/object.rb + +
+
Parent: + + AbstractObject + +
+
+ + +
+ + + +
+ + + +
+ +
+

Methods

+ +
+ setup   +
+
+ +
+ + + + +
+ + + + + + + + + +
+

Public Instance methods

+ +
+ + + + +
+

[Source]

+
+
+# File lib/git/object.rb, line 60
+      def setup
+        @type = 'tree'
+      end
+
+
+
+
+ + +
+ + +
+ + +
+

[Validate]

+
+ + + \ No newline at end of file diff --git a/doc/classes/Git/Object/Tree.src/M000133.html b/doc/classes/Git/Object/Tree.src/M000133.html new file mode 100644 index 0000000..eb465c8 --- /dev/null +++ b/doc/classes/Git/Object/Tree.src/M000133.html @@ -0,0 +1,18 @@ + + + + + + setup (Git::Object::Tree) + + + + +
# File lib/git/object.rb, line 60
+      def setup
+        @type = 'tree'
+      end
+ + \ No newline at end of file -- cgit